1 | <?php |
||
13 | class TwigExtensionSet extends Set implements ConfigurationInterface |
||
14 | { |
||
15 | /** |
||
16 | * @param Injector $injector |
||
17 | */ |
||
18 | 1 | public function apply(Injector $injector) |
|
22 | |||
23 | /** |
||
24 | * @param TwigEnvironment $environment |
||
25 | * @param Injector $injector |
||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | 1 | public function prepareExtension(TwigEnvironment $environment, Injector $injector) |
|
44 | |||
45 | /** |
||
46 | * @inheritDoc |
||
47 | * |
||
48 | * @throws ExtensionException |
||
49 | * If $classes does not implement the correct interface. |
||
50 | */ |
||
51 | 4 | protected function assertValid(array $classes) |
|
61 | } |
||
62 |