AKAbstractPart::setState
Sets the engine part's internal state, in an easy to use manner
Signature
protected function setState([string
$state = 'init',
[string
$errorMessage = 'Invalid setState argument']] )
Parameters
-
$state
- One of init, prepared, running, postrun, finished, error
-
$errorMessage
- The reported error message, should the state be set to error