EntityCacheEntry
in package
implements
CacheEntry
Entity cache entry
Table of Contents
Interfaces
- CacheEntry
- Cache entry interface
Properties
Methods
- __construct() : mixed
- __set_state() : EntityCacheEntry
- Creates a new EntityCacheEntry
- resolveAssociationEntries() : array<string, mixed>
- Retrieves the entity data resolving cache entries
Properties
$class
The entity class name
public
string
$class
Tags
$data
The entity map data
public
array<string, mixed>
$data
Tags
Methods
__construct()
public
__construct(string $class, array<string, mixed> $data) : mixed
Parameters
- $class : string
-
The entity class.
- $data : array<string, mixed>
-
The entity data.
Tags
__set_state()
Creates a new EntityCacheEntry
public
static __set_state(array<string, mixed> $values) : EntityCacheEntry
This method allow Doctrine\Common\Cache\PhpFileCache compatibility
Parameters
- $values : array<string, mixed>
-
array containing property values
Return values
EntityCacheEntryresolveAssociationEntries()
Retrieves the entity data resolving cache entries
public
resolveAssociationEntries(EntityManagerInterface $em) : array<string, mixed>
Parameters
- $em : EntityManagerInterface