Esempio n. 1
0
 public function load(IfwPsn_Vendor_Twig_Environment $env)
 {
     require_once IFW_PSN_LIB_ROOT . 'IfwPsn/Vendor/Twig/SimpleFunction.php';
     $env->addFunction(new IfwPsn_Vendor_Twig_SimpleFunction('get_post', array($this, 'getPost')));
 }