Documentation

Psr6CacheClearer
in package
implements CacheClearerInterface

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

Interfaces

CacheClearerInterface
CacheClearerInterface.

Properties

$pools  : array<string|int, mixed>

Methods

__construct()  : mixed
clear()  : mixed
Clears any caches necessary.
clearPool()  : bool
getPool()  : CacheItemPoolInterface
hasPool()  : bool

Properties

Methods

clear()

Clears any caches necessary.

public clear(string $cacheDir) : mixed
Parameters
$cacheDir : string

clearPool()

public clearPool(string $name) : bool
Parameters
$name : string
Tags
throws
InvalidArgumentException

If the cache pool with the given name does not exist

Return values
bool

hasPool()

public hasPool(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results