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