Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function __construct(ContainerInterface $container, TemplateFinderInterface $finder) |
||
21 | { |
||
22 | // We don't inject the Twig environment directly as it depends on the |
||
23 | // template locator (via the loader) which might be a cached one. |
||
24 | // The cached template locator is available once the TemplatePathsCacheWarmer |
||
25 | // has been warmed up |
||
26 | $this->container = $container; |
||
27 | $this->finder = $finder; |
||
28 | } |
||
29 | |||
63 |