Use $startNode and $endNode parameters if you don't want to use the
default start and end nodes.
$name must uniquely identify the workflow within the system.
public __construct ( string $name, ezcWorkflowNodeStart $startNode = null, ezcWorkflowNodeEnd $endNode = null, ezcWorkflowNodeFinally $finallyNode = null ) | ||
$name | string | The name of the workflow. |
$startNode | ezcWorkflowNodeStart | The start node of the workflow. |
$endNode | ezcWorkflowNodeEnd | The default end node of the workflow. |
$finallyNode | ezcWorkflowNodeFinally | The start of a node sequence that is executed when a workflow execution is cancelled. |