Files
Fabien Potencier 4d036a9148 Add a cache tag
2021-01-05 10:59:10 +01:00

30 lines
507 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 Symfony\Contracts\Cache\CacheInterface;
class CacheRuntime
{
private $cache;
public function __construct(CacheInterface $cache)
{
$this->cache = $cache;
}
public function getCache(): CacheInterface
{
return $this->cache;
}
}