Documentation

CacheWarmerAggregate
in package
implements CacheWarmerInterface

Aggregates several cache warmers into a single one.

Tags
author

Fabien Potencier fabien@symfony.com

final

Table of Contents

Interfaces

CacheWarmerInterface
Interface for classes able to warm up the cache.

Properties

$debug  : bool
$deprecationLogsFilepath  : string|null
$onlyOptionalsEnabled  : bool
$optionalsEnabled  : bool
$warmers  : iterable<string|int, mixed>

Methods

__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([iterable<mixed, CacheWarmerInterface$warmers = [] ][, bool $debug = false ][, string $deprecationLogsFilepath = null ]) : mixed
Parameters
$warmers : iterable<mixed, CacheWarmerInterface> = []
$debug : bool = false
$deprecationLogsFilepath : string = null

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>

        
On this page

Search results