fabpot/Twig — Issue #637: initRuntime called too late
Author: abxccd
Created: 2012-02-16 03:23:51+00:00
State: open

I am trying to get the loader and its templatePaths from the Twig_Environment inside a Twig_Extension:
$this->environment->getLoader()->getPaths().

I have an initRuntime() method defined, but it is called too late to set $this->environment in the extension.

Could this be fixed?