Documentation

DoctrineMetadataCacheWarmer extends AbstractPhpFileCacheWarmer
in package

Table of Contents

Properties

$entityManager  : EntityManagerInterface
$phpArrayFile  : string

Methods

__construct()  : mixed
isOptional()  : bool
It must not be optional because it should be called before ProxyCacheWarmer which is not optional.
warmUp()  : array<string|int, string>
{@inheritdoc}
doWarmUp()  : bool
warmUpPhpArrayAdapter()  : array<string|int, string>

Properties

Methods

isOptional()

It must not be optional because it should be called before ProxyCacheWarmer which is not optional.

public isOptional() : bool
Return values
bool

warmUp()

{@inheritdoc}

public warmUp(string $cacheDir) : array<string|int, string>
Parameters
$cacheDir : string
Return values
array<string|int, string>

A list of classes to preload on PHP 7.4+

warmUpPhpArrayAdapter()

protected warmUpPhpArrayAdapter(PhpArrayAdapter $phpArrayAdapter, array<string|int, mixed> $values) : array<string|int, string>
Parameters
$phpArrayAdapter : PhpArrayAdapter
$values : array<string|int, mixed>
Return values
array<string|int, string>

A list of classes to preload on PHP 7.4+


        
On this page

Search results