1 | <?php |
||
15 | class LoaderEvent extends Event |
||
16 | { |
||
17 | const EVENT = 'TwigView.TwigView.loader'; |
||
18 | |||
19 | /** |
||
20 | * @param \Twig_LoaderInterface $loader |
||
21 | * @return LoaderEvent |
||
22 | */ |
||
23 | 13 | public static function create(\Twig_LoaderInterface $loader) |
|
29 | |||
30 | /** |
||
31 | * @return \Twig_LoaderInterface |
||
32 | */ |
||
33 | public function getLoader() |
||
37 | |||
38 | /** |
||
39 | * @return string|Twig_LoaderInterface |
||
40 | */ |
||
41 | 13 | public function getResultLoader() |
|
53 | } |
||
54 |