FileAccess Orion

TemplatePathsCacheWarmer extends CacheWarmer
in package

Computes the association between template names and their paths on the disk.

Tags
author

Fabien Potencier fabien@symfony.com

deprecated

since version 4.3, to be removed in 5.0; use Twig instead.

Table of Contents

$finder  : mixed
$locator  : mixed
__construct()  : mixed
isOptional()  : bool
Checks whether this warmer is optional or not.
warmUp()  : mixed
Warms up the cache.
writeCacheFile()  : mixed

Properties

Methods

isOptional()

Checks whether this warmer is optional or not.

public isOptional() : bool
Return values
bool

always true

warmUp()

Warms up the cache.

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

The cache directory

Return values
mixed

writeCacheFile()

protected writeCacheFile(mixed $file, mixed $content) : mixed
Parameters
$file : mixed
$content : mixed
Return values
mixed

Search results