class EntityCacheEntry implements CacheEntry (View source)

Entity cache entry

Properties

array $data READ-ONLY: Public only for performance reasons, it should be considered immutable.
string $class READ-ONLY: Public only for performance reasons, it should be considered immutable.

Methods

__construct(string $class, array $data)

No description

static 
__set_state(array $values)

Creates a new EntityCacheEntry

array
resolveAssociationEntries(EntityManagerInterface $em)

Retrieves the entity data resolving cache entries

Details

__construct(string $class, array $data)

Parameters

string $class The entity class.
array $data The entity data.

static __set_state(array $values)

Creates a new EntityCacheEntry

This method allow Doctrine\Common\Cache\PhpFileCache compatibility

Parameters

array $values array containing property values

array resolveAssociationEntries(EntityManagerInterface $em)

Retrieves the entity data resolving cache entries

Parameters

EntityManagerInterface $em

Return Value

array