예제 #1
0
 public function compile()
 {
     $result = TagParserService::compile($this->_template, $this->_content);
     return $this->_compilePageVars($result);
 }
예제 #2
0
 public static function compile($template, $contents)
 {
     $service = new TagParserService($template, $contents);
     return $service->render();
 }