Beispiel #1
0
 protected function getEnvironment()
 {
     $env = new Apishka_Templater_Environment(new Apishka_Templater_Loader_Array(array()));
     $env->addFunction(new Apishka_Templater_Function('anonymous', function () {
     }));
     return $env;
 }