* * 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:----Sd2D5Hb1aasNr7qeDd696mWNnlQf0wcsJDbzeUnnrsoldTFRhxakSmeEPHiEWBgXAOGv2ui2AN60HDA6czEc4oQ6redKEXySQO1Aly4QQcgAOIOAVJPMdyUZojGPjzufMbjdYFfA1e7pdc64BUqWC7uH4zPv7MoXUNnfpCwwhi21AZQPenAQpvdS6j89YxaPM6mPv5qWn007wGD1zYBG3KHzYdLGIkPdCVU1VYQg1bk8L4sd1c1LSvWfcVqbfVZnNOXs48nxoKBKyplMz4NhTZBYhC5S/qhE/8t4RRg0UHzSUqMvzIXuE3UtAc1nJgYYZD8xdN2EqCt2YSBBoYpvUpcsWq0Pnn0qtqPbZNw9XYMkFPXb+D1/8TySIv8nZ6OvbziGXJfYun9U7Nq/GBWNYgMjIKadU2oZCOIJafTX2oQ//JPuUZQPeBX49OWhCceZN1sXuLiAfjswpDIZ65S1K68FHMq07lznQe1tD050UZqR99cU8JIMGqBfqm64yfRmN3M4tFflP85SfRYYwnITO404N0JaHF3uveqhm1AJm09g+1Wm9Nu7CnFpBIGBqIiqaRVfxC1ZEmg9sSRAuuilcKgajt3hCbtraQSsacrjfrCHHHRCb7Lc8t6ZEgKtSlaz3vL70VhBiCWA1D5kZusN/VBYaCzkpsw6ir3DPp0GGlQ=----ATTACHMENT:----OTY5MTU4OTQ3MTg0NzA5IDg2Nzg1MjQwODk3MzU1MDMgNTA0NzUwMDg4OTI5NDE4