Files
Twig/extra/cache-extra/CacheExtension.php
T
Fabien Potencier 4d036a9148 Add a cache tag
2021-01-05 10:59:10 +01:00

26 lines
492 B
PHP

<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Twig\Extra\Cache;
use Twig\Extension\AbstractExtension;
use Twig\Extra\Cache\TokenParser\CacheTokenParser;
final class CacheExtension extends AbstractExtension
{
public function getTokenParsers()
{
return [
new CacheTokenParser(),
];
}
}