mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-17 10:30:50 +00:00
26 lines
499 B
PHP
26 lines
499 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(): array
|
|
{
|
|
return [
|
|
new CacheTokenParser(),
|
|
];
|
|
}
|
|
}
|