| 1 | <?php |
||
| 26 | class Extension extends \Twig_Extension |
||
| 27 | { |
||
| 28 | private $cacheStrategy; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param CacheStrategyInterface $cacheStrategy |
||
| 32 | */ |
||
| 33 | public function __construct(CacheStrategyInterface $cacheStrategy) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return CacheStrategyInterface |
||
| 40 | */ |
||
| 41 | public function getCacheStrategy() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritDoc} |
||
| 48 | */ |
||
| 49 | public function getName() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritDoc} |
||
| 59 | */ |
||
| 60 | public function getTokenParsers() |
||
| 66 | } |
||
| 67 |