Documentation

ChainCacheClearer
in package
implements CacheClearerInterface

ChainCacheClearer.

Tags
author

Dustin Dobervich ddobervich@gmail.com

final

since version 3.4

Interfaces, Classes and Traits

CacheClearerInterface
CacheClearerInterface.

Table of Contents

$clearers  : mixed
__construct()  : mixed
Constructs a new instance of ChainCacheClearer.
add()  : mixed
Adds a cache clearer to the aggregate.
clear()  : mixed
Clears any caches necessary.

Properties

Methods

__construct()

Constructs a new instance of ChainCacheClearer.

public __construct([array<string|int, mixed> $clearers = [] ]) : mixed
Parameters
$clearers : array<string|int, mixed> = []

The initial clearers

Return values
mixed

clear()

Clears any caches necessary.

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

The cache directory

Return values
mixed

Search results