/** * Overridden implementation of accept() calls accept on the start nodes. * * @param ymcPipeVisitor $visitor */ public function accept(ymcPipeVisitor $visitor) { if ($visitor->visit($this)) { foreach ($this->outNodes as $outNode) { $outNode->accept($visitor); } } }
/** * Overridden implementation of accept() calls accept on the start nodes. * * @param ymcPipeVisitor $visitor */ public function accept(ymcPipeVisitor $visitor) { $visitor->visit($this); foreach ($this->getStartNodes() as $node) { $node->accept($visitor); } }