| 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 | * @return HTML5CacheExtension |
||
| 30 | */ |
||
| 31 | public function initRuntime(\Twig_Environment $environment) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getCacheManifest() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Returns the name of the extension. |
||
| 47 | * |
||
| 48 | * @return string The extension name |
||
| 49 | */ |
||
| 50 | public function getName() |
||
| 54 | |||
| 55 | } |