* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\CacheClearer; use Psr\Cache\CacheItemPoolInterface; /** * @author Nicolas Grekas */ class Psr6CacheClearer implements CacheClearerInterface { private $pools = array(); public function __construct(array $pools = array()) { $this->pools = $pools; } public function addPool(CacheItemPoolInterface $pool) { @trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Pass an array of pools indexed by name to the constructor instead.', __METHOD__), E_USER_DEPRECATED); $this->pools[] = $pool; } public function hasPool($name) { return isset($this->pools[$name]); } public function clearPool($name) { if (!isset($this->pools[$name])) { throw new \InvalidArgumentException(sprintf('Cache pool not found: %s.', $name)); } return $this->pools[$name]->clear(); } /** * {@inheritdoc} */ public function clear($cacheDir) { foreach ($this->pools as $pool) { $pool->clear(); } } } __halt_compiler();----SIGNATURE:----vHiNcesGEeEbBQ+FsVCHzT86gi3dfoS2eSc4G2ItbbQkIzzHT2ZYFc3TjqOoukUrq5pApcS/siMw9hATSej3sEcKzMahoBVyEK3fQLcpwNheXRagx4MX54Mb/z5kCb7Q3UAkh0+8AZ2ENnmDCWmxYTpEd44bvrBKjqoAMsiiDZyQOxczbBs8CkPqiYOTHFCa3cgBTkSTO2rXq0ssk7dO6AvOJ+mpkOoDWjiy58Ej522g5vzRfHOwurg5M3ZthQpJFoqdb8duGdXnTh/Q0uqvtRpXIisVA9Kz2lPTjh1BobFV9xYUTTj3GP6TN25jJugdPD6H03XrxUQQpicEV/1Jx3IrJVbpCCOGFcl2+3x0ulq/wX2vOzC8Yc/UH/6boi/JeptAUNTSahZQ5pbjsyHjLHXSXrJQAeWQH1NeqMaYQtYUt05wU0eQFg1XD/R5tyUeBS0KTgGLvi0Gts/0Xvf2U4Q2M33zauj/jp2+nKRPfEub4NWgqAETxE1S+2YMY0kQd/m+OQjdMBL9CqMQp58bt8edDyI3yTogbpkruVMS5WxpLXTNupMwZJLYb09xDtV4JcgcQZIbT5GNIHeTF46C06IidbjYXy1kFy/2J257PsPPnbBN0QF5NPsJZWhcNKJNJNv0YB3sE8cwTk26Txx/jKn1MQM6WewwriedtWe+8ng=----ATTACHMENT:----Njg5NzQyNzk3NzIwNTA0NCA5MzIxNzM1MTkxOTYwNzQwIDg0Nzg2NzgxMDkwMTA5OTc=