RouterCacheWarmer
in package
implements
CacheWarmerInterface, CompatibilityServiceSubscriberInterface
Generates the router matcher and generator classes.
Tags
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
$container
private
mixed
$container
Methods
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
Return values
mixed —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