Psr6CacheClearer
class Psr6CacheClearer implements CacheClearerInterface
Methods
| __construct(array $pools = array()) | ||
| addPool(CacheItemPoolInterface $pool) | ||
| hasPool($name) | ||
| clearPool($name) | ||
| clear(string $cacheDir) Clears any caches necessary. |
Details
__construct(array $pools = array())
Parameters
| array | $pools |
addPool(CacheItemPoolInterface $pool)
Parameters
| CacheItemPoolInterface | $pool |
hasPool($name)
Parameters
| $name |
clearPool($name)
Parameters
| $name |
clear(string $cacheDir)
Clears any caches necessary.
Parameters
| string | $cacheDir | The cache directory |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/HttpKernel/CacheClearer/Psr6CacheClearer.html