| 1 | <?php |
||
| 12 | class OriginalTwigEnvironmentProvider implements ProviderInterface |
||
| 13 | { |
||
| 14 | private $loader; |
||
| 15 | private $options = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @Named("twig_loader") |
||
| 19 | * @param Twig_LoaderInterface $loader |
||
| 20 | */ |
||
| 21 | 20 | public function __construct(Twig_LoaderInterface $loader) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @Inject |
||
| 28 | * @TwigOptions |
||
| 29 | * @param array $options |
||
| 30 | */ |
||
| 31 | 20 | public function setOptions(array $options = []) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return Twig_Environment |
||
| 38 | */ |
||
| 39 | 20 | public function get() |
|
| 43 | } |
||
| 44 |