Documentation

ExpressionCacheWarmer
in package
implements CacheWarmerInterface

Table of Contents

Interfaces

CacheWarmerInterface
Interface for classes able to warm up the cache.

Properties

$expressionLanguage  : mixed
$expressions  : iterable<string|int, mixed>

Methods

__construct()  : mixed
isOptional()  : bool
Checks whether this warmer is optional or not.
warmUp()  : array<string|int, string>

Properties

Methods

isOptional()

Checks whether this warmer is optional or not.

public isOptional() : bool

Optional warmers can be ignored on certain conditions.

A warmer should return true if the cache can be generated incrementally and on-demand.

Return values
bool

warmUp()

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

        
On this page

Search results