1 | <?php |
||
24 | final class TwigTemplateRecorderInjector extends Twig_Extension implements Twig_Extension_InitRuntimeInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var Recorder |
||
28 | */ |
||
29 | private $recorder; |
||
30 | |||
31 | public function __construct(Recorder $recorder) |
||
35 | |||
36 | /** |
||
37 | * Initializes the runtime environment. |
||
38 | * |
||
39 | * This is where you can load some file that contains filter functions for instance. |
||
40 | * |
||
41 | * @param Twig_Environment $environment The current Twig_Environment instance |
||
42 | */ |
||
43 | public function initRuntime(Twig_Environment $environment) |
||
55 | } |
||
56 |