Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 /**
  * @param Tag $tag
  */
 public function addTag(Tag $tag)
 {
     $this->tags[$tag->getTag()] = $tag;
 }