1 | <?php |
||
10 | class HTML5CacheExtension extends \Twig_Extension |
||
11 | { |
||
12 | /** |
||
13 | * @var \Twig_Environment |
||
14 | */ |
||
15 | protected $environment; |
||
16 | |||
17 | /** |
||
18 | * @return \Twig_SimpleFunction[] |
||
19 | */ |
||
20 | public function getFunctions() |
||
26 | |||
27 | /** |
||
28 | * @param \Twig_Environment $environment |
||
29 | */ |
||
30 | public function needs_environment(\Twig_Environment $environment) |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getCacheManifest() |
||
42 | |||
43 | /** |
||
44 | * Returns the name of the extension. |
||
45 | * |
||
46 | * @return string The extension name |
||
47 | */ |
||
48 | public function getName() |
||
52 | } |
||
53 |