Method |
Description |
|
__construct ( object $attributes = null, array $options = [] ) : Workflow |
Object constructor |
|
checkProgress ( ) : boolean |
Check on the progress of a workflow. This can be called repeatedly and will apply a polling
period to prevent flooding the API with requests. |
|
fetchWithLogs ( ) : Workflow |
Re-fetches workflow data hydrated with logs |
|
getMessage ( ) : string |
Get the success message of a workflow or throw an exception of the workflow failed. |
|
getStatus ( ) : string |
Returns the status of this workflow |
|
getUrl ( ) : string |
Get the URL for this model |
|
isFinished ( ) : boolean |
Detects if the workflow has finished |
|
isSuccessful ( ) : boolean |
Detects if the workflow was successful |
|
operations ( ) : WorkflowOperation[] |
Returns a list of WorkflowOperations for this workflow |
|
serialize ( ) : array |
Formats workflow object into an associative array for output |
|
wait ( ) : Workflow | void |
Waits on this workflow to finish |
|