mediatekformation

SerializerCacheWarmer extends AbstractPhpFileCacheWarmer
in package

Warms up XML and YAML serializer metadata.

Tags
author

Titouan Galopin galopintitouan@gmail.com

Table of Contents

$loaders  : mixed
$phpArrayFile  : mixed
__construct()  : mixed
isOptional()  : bool
Checks whether this warmer is optional or not.
warmUp()  : mixed
{@inheritdoc}
doWarmUp()  : bool
warmUpPhpArrayAdapter()  : mixed
extractSupportedLoaders()  : array<string|int, XmlFileLoader>|array<string|int, YamlFileLoader>

Properties

Methods

__construct()

public __construct(array<string|int, LoaderInterface$loaders, string $phpArrayFile) : mixed
Parameters
$loaders : array<string|int, LoaderInterface>

The serializer metadata loaders

$phpArrayFile : string

The PHP file where metadata are cached

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