Example #1
0
 /**
  * @param string $content
  * @return string
  */
 public function compile($content)
 {
     $this->setupChecker->check($this->setup);
     $compiler = new Compiler($this->setup);
     $compiled = $compiler->compile($content);
     return $compiled;
 }
Example #2
0
 public function getContent($file)
 {
     $content = parent::getContent($file);
     $compiler = new Compiler();
     $compiled = $compiler->compile($content);
     return $compiled;
 }