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