Documentation

ProxyCacheWarmer
in package
implements CacheWarmerInterface

The proxy generator cache warmer generates all entity proxies.

In the process of generating proxies the cache for all the metadata is primed also, since this information is necessary to build the proxies in the first place.

Tags
author

Benjamin Eberlei kontakt@beberlei.de

Table of Contents

Interfaces

CacheWarmerInterface
Interface for classes able to warm up the cache.

Properties

$registry  : mixed

Methods

__construct()  : mixed
isOptional()  : bool
This cache warmer is not optional, without proxies fatal error occurs!
warmUp()  : array<string|int, string>
{@inheritdoc}

Properties

Methods

isOptional()

This cache warmer is not optional, without proxies fatal error occurs!

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 files to preload on PHP 7.4+


        
On this page

Search results