Documentation

Psr6CacheClearer
in package
implements CacheClearerInterface

Tags
author

Nicolas Grekas p@tchwork.com

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

Methods

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
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

Search results