public function compile(Compiler $compiler) { if ($compiler->getEnvironment()->getOption('debug')) { $compiler->indented('//Line %d: %s tag', $this->getData('line'), $this->tag->getTag()); } $this->tag->compile($compiler, $this); }
/** * @param Tag $tag */ public function addTag(Tag $tag) { $this->tags[$tag->getTag()] = $tag; }