@@ -194,25 +194,26 @@ public function createCategory()
194194### Ticket API Methods
195195The ` ticket ` model came with handy methods to use, to make your building process easy and fast, and here is the list of the available __ API__ :
196196
197- | Method | Arguments | Description | Example | Chainable |
198- | ---| ---| ---| ---| ---|
199- | ` archive ` |` void ` | archive the ticket | ` $ticket->archive() ` | ✓
200- | ` close ` |` void ` | close the ticket | ` $ticket->close() ` | ✓
201- | ` reopen ` |` void ` | reopen a closed ticket | ` $ticket->reopen() ` | ✓
202- | ` markAsResolved ` |` void ` | mark the ticket as resolved | ` $ticket->markAsResolved() ` | ✓
203- | ` markAsLocked ` |` void ` | mark the ticket as locked | ` $ticket->markAsLocked() ` | ✓
204- | ` markAsUnlocked ` |` void ` | mark the ticket as unlocked | ` $ticket->markAsUnlocked() ` | ✓
205- | ` markAsArchived ` |` void ` | mark the ticket as archived | ` $ticket->markAsArchived() ` | ✓
206- | ` closeAsResolved ` |` void ` | close the ticket and marked it as resolved | ` $ticket->closeAsResolved() ` | ✓
207- | ` closeAsUnresolved ` |` void ` | close the ticket and marked it as unresolved | ` $ticket->closeAsUnresolved() ` | ✓
208- | ` reopenAsUnresolved ` |` void ` | reopen the ticket and marked it as unresolved | ` $ticket->reopenAsUnresolved() ` | ✓
209- | ` isArchived ` |` void ` | check if the ticket archived | ` $ticket->isArchived() ` | ✗
210- | ` isOpen ` |` void ` | check if the ticket open | ` $ticket->isOpen() ` | ✗
211- | ` isClosed ` |` void ` | check if the ticket closed | ` $ticket->isClosed() ` | ✗
212- | ` isResolved ` |` void ` | check if the ticket has a resolved status | ` $ticket->isResolved() ` | ✗
213- | ` isUnresolved ` |` void ` | check if the ticket has an unresolved status | ` $ticket->isUnresolved() ` | ✗
214- | ` isLocked ` |` void ` | check if the ticket is locked | ` $ticket->isLocked() ` | ✗
215- | ` isUnlocked ` |` void ` | check if the ticket is unlocked | ` $ticket->isUnlocked() ` | ✗
197+ | Method | Arguments | Description | Example | Chainable |
198+ | ----------------------| ---| -----------------------------------------------| -----------------------------------------------------| ---|
199+ | ` archive ` |` void ` | archive the ticket | ` $ticket->archive() ` | ✓
200+ | ` close ` |` void ` | close the ticket | ` $ticket->close() ` | ✓
201+ | ` reopen ` |` void ` | reopen a closed ticket | ` $ticket->reopen() ` | ✓
202+ | ` markAsResolved ` |` void ` | mark the ticket as resolved | ` $ticket->markAsResolved() ` | ✓
203+ | ` markAsLocked ` |` void ` | mark the ticket as locked | ` $ticket->markAsLocked() ` | ✓
204+ | ` markAsUnlocked ` |` void ` | mark the ticket as unlocked | ` $ticket->markAsUnlocked() ` | ✓
205+ | ` markAsArchived ` |` void ` | mark the ticket as archived | ` $ticket->markAsArchived() ` | ✓
206+ | ` closeAsResolved ` |` void ` | close the ticket and marked it as resolved | ` $ticket->closeAsResolved() ` | ✓
207+ | ` closeAsUnresolved ` |` void ` | close the ticket and marked it as unresolved | ` $ticket->closeAsUnresolved() ` | ✓
208+ | ` reopenAsUnresolved ` |` void ` | reopen the ticket and marked it as unresolved | ` $ticket->reopenAsUnresolved() ` | ✓
209+ | ` isArchived ` |` void ` | check if the ticket archived | ` $ticket->isArchived() ` | ✗
210+ | ` isOpen ` |` void ` | check if the ticket open | ` $ticket->isOpen() ` | ✗
211+ | ` isClosed ` |` void ` | check if the ticket closed | ` $ticket->isClosed() ` | ✗
212+ | ` isResolved ` |` void ` | check if the ticket has a resolved status | ` $ticket->isResolved() ` | ✗
213+ | ` isUnresolved ` |` void ` | check if the ticket has an unresolved status | ` $ticket->isUnresolved() ` | ✗
214+ | ` isLocked ` |` void ` | check if the ticket is locked | ` $ticket->isLocked() ` | ✗
215+ | ` isUnlocked ` |` void ` | check if the ticket is unlocked | ` $ticket->isUnlocked() ` | ✗
216+ | ` assignTo ` |` void ` | assign ticket to a user | ` $ticket->assignTo($user) ` or ` $ticket->assignTo(2) ` | ✓
216217
217218The __ Chainable__ column, is showing the state for the method, that if it can be chained or not, something like
218219``` php
0 commit comments