accept() public method

Overridden implementation of accept() calls accept on the start node.
public accept ( ezcWorkflowVisitor $visitor )
$visitor ezcWorkflowVisitor
 /**
  * Constructor.
  *
  * @param ezcWorkflow $workflow
  */
 public function __construct(ezcWorkflow $workflow)
 {
     parent::__construct();
     $workflow->accept($this);
 }
 /**
  * Constructor.
  *
  * @param ezcWorkflow $workflow
  */
 public function __construct(ezcWorkflow $workflow)
 {
     $workflow->accept($this);
 }