FileAccess Orion

CacheWarmerAggregate
in package
implements CacheWarmerInterface

Aggregates several cache warmers into a single one.

Tags
author

Fabien Potencier fabien@symfony.com

final

Interfaces, Classes, Traits and Enums

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()  : mixed
Warms up the cache.

Properties

Methods

__construct()

public __construct([iteratable<string|int, mixed> $warmers = [] ][, bool $debug = false ][, string $deprecationLogsFilepath = null ]) : mixed
Parameters
$warmers : iteratable<string|int, mixed> = []
$debug : bool = false
$deprecationLogsFilepath : string = 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

always false

warmUp()

Warms up the cache.

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

The cache directory

Return values
mixed

Search results