setOptions(Fenom::AUTO_RELOAD | Fenom::FORCE_COMPILE); $fenom->addAccessorSmart('g', 'App::$q->get', Fenom::ACCESSOR_CALL); var_dump($fenom->compileCode('{$.g("env")}')->getBody()); //var_dump($fenom->compile("bug158/main.tpl", [])->getTemplateCode()); //var_dump($fenom->display("bug158/main.tpl", [])); // $fenom->getTemplate("problem.tpl");