spoof
|
Public Member Functions | |
processEvent ($function, $result) | |
![]() | |
setEngine (IEngine $workflow) | |
![]() | |
getState () | |
setState ($state, $time) |
Protected Attributes | |
$entityID | |
![]() | |
$workflow | |
$datacontrol |
State workflow entity abstract class
processEvent | ( | $function, | |
$result | |||
) |
Processes given event consisting of function and its result
This implements the IEntity interface requirement for processing an event in the state based workflow. Based on the current state of the object, and function/result combination, gets next state defined in workflow definition and sets the object state. This event is also logged in the workflow logger container.
string | $function | function executed |
string | $result | result of the executed function |
Implements IEntity.
|
protected |