End nodes must call this method to end the execution.
public end ( ezcWorkflowNode $node = null ) | ||
$node | ezcWorkflowNode |
/** * Ends the execution of this workflow. * * @param ezcWorkflowExecution $execution * @return boolean true when the node finished execution, * and false otherwise * @ignore */ public function execute(ezcWorkflowExecution $execution) { $execution->end($this); return parent::execute($execution); }