Documentation

CacheWarmerAggregate
in package
implements CacheWarmerInterface

Aggregates several cache warmers into a single one.

Tags
author

Fabien Potencier fabien@symfony.com

final

Interfaces, Classes and Traits

CacheWarmerInterface
Interface for classes able to warm up the cache.

Table of Contents

$debug  : mixed
$deprecationLogsFilepath  : mixed
$onlyOptionalsEnabled  : mixed
$optionalsEnabled  : mixed
$warmers  : mixed
__construct()  : mixed
enableOnlyOptionalWarmers()  : mixed
enableOptionalWarmers()  : mixed
isOptional()  : bool
Checks whether this warmer is optional or not.
warmUp()  : array<string|int, mixed>
{@inheritdoc}

Properties

Methods

__construct()

public __construct([iteratable<mixed, CacheWarmerInterface$warmers = [] ][, bool $debug = false ][, string|null $deprecationLogsFilepath = null ]) : mixed
Parameters
$warmers : iteratable<mixed, CacheWarmerInterface> = []
$debug : bool = false
$deprecationLogsFilepath : string|null = null
Return values
mixed

enableOnlyOptionalWarmers()

public enableOnlyOptionalWarmers() : mixed
Return values
mixed

isOptional()

Checks whether this warmer is optional or not.

public isOptional() : bool
Return values
bool

warmUp()

{@inheritdoc}

public warmUp(string $cacheDir) : array<string|int, mixed>
Parameters
$cacheDir : string
Return values
array<string|int, mixed>

Search results