WorkflowController
class WorkflowController extends BaseController
Workflow controller
Properties
static boolean | $batchMode | Controller is in batch mode | from BaseController |
static array | $batchedResponses | Stack for batched responses | from BaseController |
Methods
Dispatcher
indexAction()
Forwards to list action
array
listAction()
Return workflows
array
getAction(string $uuid)
Get single workflow by UUID
array
createAction()
Create new workflow
array
updateAction(string $uuid)
Update existing workflow.
array
deleteAction(string $uuid)
Delete workflow
array
priorityAction()
Set workflow priority, low to high UUIDs should be sent as non-indexed array
Details
in BaseController at line line 60
int
getStatusCode()
Return status code
in BaseController at line line 69
array
getHeaders()
Return current headers
in BaseController at line line 78
string
getPayload()
Return payload
in BaseController at line line 87
setStatusCode(int $code)
Set status code
in BaseController at line line 97
setHeaders(string $key, string $value)
Set header value
in BaseController at line line 106
setPayload(string $payload)
Set payload
in BaseController at line line 294
static
startBatchMode()
Static method to enable batch mode return handling
in BaseController at line line 302
static
endBatchMode()
Static method to disable batch mode return handling
at line line 21
Dispatcher
indexAction()
Forwards to list action
at line line 30
array
listAction()
Return workflows
at line line 55
array
getAction(string $uuid)
Get single workflow by UUID
at line line 76
array
createAction()
Create new workflow
at line line 96
array
updateAction(string $uuid)
Update existing workflow.
at line line 122
array
deleteAction(string $uuid)
Delete workflow
at line line 160
array
priorityAction()
Set workflow priority, low to high UUIDs should be sent as non-indexed array