FileAccess Orion

RouterCacheWarmer
in package
implements CacheWarmerInterface, CompatibilityServiceSubscriberInterface

Generates the router matcher and generator classes.

Tags
author

Fabien Potencier fabien@symfony.com

final

Interfaces, Classes, Traits and Enums

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

Table of Contents

$container  : mixed
__construct()  : mixed
getSubscribedServices()  : array<string|int, mixed>
{@inheritdoc}
isOptional()  : bool
Checks whether this warmer is optional or not.
warmUp()  : mixed
Warms up the cache.

Properties

Methods

getSubscribedServices()

{@inheritdoc}

public static getSubscribedServices() : array<string|int, mixed>
Return values
array<string|int, mixed>

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

Search results