TranslationsCacheWarmer
in package
implements
CacheWarmerInterface, CompatibilityServiceSubscriberInterface
Generates the catalogues for translations.
Tags
Interfaces, Classes, Traits and Enums
- CacheWarmerInterface
- Interface for classes able to warm up the cache.
- CompatibilityServiceSubscriberInterface
Table of Contents
- $container : mixed
- $translator : mixed
- __construct() : mixed
- getSubscribedServices() : mixed
- {@inheritdoc}
- isOptional() : bool
- Checks whether this warmer is optional or not.
- warmUp() : mixed
- {@inheritdoc}
Properties
$container
private
mixed
$container
$translator
private
mixed
$translator
Methods
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
Return values
mixed —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