mediatekformation

TemplateCacheWarmer
in package
implements CacheWarmerInterface, CompatibilityServiceSubscriberInterface

Generates the Twig cache for all templates.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

CacheWarmerInterface
Interface for classes able to warm up the cache.
CompatibilityServiceSubscriberInterface

Table of Contents

$container  : mixed
$iterator  : mixed
$twig  : mixed
__construct()  : mixed
getSubscribedServices()  : mixed
{@inheritdoc}
isOptional()  : bool
Checks whether this warmer is optional or not.
warmUp()  : mixed
{@inheritdoc}

Properties

Methods

getSubscribedServices()

{@inheritdoc}

public static getSubscribedServices() : mixed
Return values
mixed

isOptional()

Checks whether this warmer is optional or not.

public isOptional() : bool
Return values
bool

true if the warmer is optional, false otherwise

warmUp()

{@inheritdoc}

public warmUp(mixed $cacheDir) : mixed
Parameters
$cacheDir : mixed
Return values
mixed

Search results