Psr6CacheClearer
in package
implements
CacheClearerInterface
Tags
Interfaces, Classes and Traits
- CacheClearerInterface
- CacheClearerInterface.
Table of Contents
- $pools : mixed
- __construct() : mixed
- clear() : mixed
- Clears any caches necessary.
- clearPool() : bool
- getPool() : CacheItemPoolInterface
- hasPool() : bool
Properties
$pools
private
mixed
$pools
= []
Methods
__construct()
public
__construct([array<string, CacheItemPoolInterface> $pools = [] ]) : mixed
Parameters
- $pools : array<string, CacheItemPoolInterface> = []
Return values
mixed —clear()
Clears any caches necessary.
public
clear(string $cacheDir) : mixed
Parameters
- $cacheDir : string
Return values
mixed —clearPool()
public
clearPool(string $name) : bool
Parameters
- $name : string
Tags
Return values
bool —getPool()
public
getPool(string $name) : CacheItemPoolInterface
Parameters
- $name : string
Tags
Return values
CacheItemPoolInterface —hasPool()
public
hasPool(string $name) : bool
Parameters
- $name : string