public function accept(NodeVisitorInterface $visitor) { if (false !== $visitor->enterInterpolatedString($this)) { if (false !== $visitor->enterInterpolatedStringChilds($this)) { foreach ($this->getChilds() as $child) { $child->accept($visitor); } $visitor->leaveInterpolatedStringChilds($this); } $visitor->leaveInterpolatedString($this); } }