W3cubDocs

/Symfony 4.1

Psr6CacheClearer

class Psr6CacheClearer implements CacheClearerInterface

Methods

__construct(array $pools = array())
hasPool($name)
getPool($name)
clearPool($name)
clear(string $cacheDir)

Clears any caches necessary.

Details

__construct(array $pools = array())

Parameters

array $pools

hasPool($name)

Parameters

$name

getPool($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.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/CacheClearer/Psr6CacheClearer.html