CacheEntry

final readonly class \TYPO3\CMS\Core\Cache\CacheEntry

A closure for lazy cache entry persistence, allowing cache lifetime to be altered in the CacheDataCollector.

Also allows a custom middleware to intercept a cache entry from within a middleware.

Table of Contents

Properties

$content  : mixed
$identifier  : string

Methods

__construct()  : mixed
__invoke()  : void

Properties

Methods

__construct()

public __construct(string $identifier, mixed $content, Closure $persist) : mixed

Parameters

$identifier : string
$content : mixed
$persist : Closure

__invoke()

public __invoke(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface
On this page