class EntityCacheKey extends CacheKey (View source)

Defines entity classes roles to be stored in the cache region.

Properties

string $hash READ-ONLY: Public only for performance reasons, it should be considered immutable. from CacheKey
array $identifier READ-ONLY: Public only for performance reasons, it should be considered immutable.
string $entityClass READ-ONLY: Public only for performance reasons, it should be considered immutable.

Methods

__construct(string $entityClass, array $identifier)

No description

Details

__construct(string $entityClass, array $identifier)

Parameters

string $entityClass The entity class name. In a inheritance hierarchy it should always be the root entity class.
array $identifier The entity identifier