@@ -194,25 +194,26 @@ public function createCategory()
194
194
### Ticket API Methods
195
195
The ` 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__ :
196
196
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) ` | ✓
216
217
217
218
The __ Chainable__ column, is showing the state for the method, that if it can be chained or not, something like
218
219
``` php
0 commit comments