From: Fabien Potencier Date: Mon, 1 Apr 2013 08:26:39 +0000 (+0200) Subject: merged branch ShadowPrince/master (PR #1042) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=296bae96e79e37dbea84fe33894b8331de6f146c;p=web%2Fkonrad%2Ftwig.git merged branch ShadowPrince/master (PR #1042) This PR was squashed before being merged into the master branch (closes #1042). Discussion ---------- Registration a Twig_SimpleFunction after extensions initialized throw not LogicException, but Fatal Error Registration a Twig_SimpleFunction after extensions initialized throw not LogicException, but Fatal Error: $environment->addFunction(new Twig_SimpleFunction(...)) after  $environment->render(...) throws Fatal Error:  object of Twig_SimpleFunction could not be converted to string Commits ------- 92e97b9 Registration a Twig_SimpleFunction after extensions initialized throw not LogicException, but Fatal Error --- 296bae96e79e37dbea84fe33894b8331de6f146c