AssociationCacheEntry
in package
implements
CacheEntry
Association cache entry
Interfaces, Classes, Traits and Enums
- CacheEntry
- Cache entry interface
Table of Contents
- $class : string
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $identifier : array<string, mixed>
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- __construct() : mixed
- __set_state() : AssociationCacheEntry
- Creates a new AssociationCacheEntry
Properties
$class
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
string
$class
The entity class name
$identifier
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
array<string, mixed>
$identifier
The entity identifier
Methods
__construct()
public
__construct(string $class, array<string, mixed> $identifier) : mixed
Parameters
- $class : string
-
The entity class.
- $identifier : array<string, mixed>
-
The entity identifier.
Return values
mixed —__set_state()
Creates a new AssociationCacheEntry
public
static __set_state(array<string, mixed> $values) : AssociationCacheEntry
This method allow Doctrine\Common\Cache\PhpFileCache compatibility
Parameters
- $values : array<string, mixed>
-
array containing property values