Documentation

CollectionCacheEntry
in package
implements CacheEntry

Collection cache entry

Table of Contents

Interfaces

CacheEntry
Cache entry interface

Properties

$identifiers  : array<string|int, CacheKey>
The list of entity identifiers hold by the collection

Methods

__construct()  : mixed
__set_state()  : CollectionCacheEntry
Creates a new CollectionCacheEntry

Properties

$identifiers

The list of entity identifiers hold by the collection

public array<string|int, CacheKey> $identifiers
Tags
readonly

Public only for performance reasons, it should be considered immutable.

Methods

__construct()

public __construct(array<string|int, CacheKey$identifiers) : mixed
Parameters
$identifiers : array<string|int, CacheKey>

List of entity identifiers hold by the collection

__set_state()

Creates a new CollectionCacheEntry

public static __set_state(array<string, mixed> $values) : CollectionCacheEntry

This method allows for Doctrine\Common\Cache\PhpFileCache compatibility

Parameters
$values : array<string, mixed>

array containing property values

Return values
CollectionCacheEntry

        
On this page

Search results