EntityCacheKey
extends CacheKey
in package
Defines entity classes roles to be stored in the cache region.
Table of Contents
Properties
- $entityClass : string
- The entity class name
- $hash : string
- Unique identifier
- $identifier : array<string, mixed>
- The entity identifier
Methods
- __construct() : mixed
Properties
$entityClass
The entity class name
public
string
$entityClass
Tags
$hash
Unique identifier
public
string
$hash
Tags
$identifier
The entity identifier
public
array<string, mixed>
$identifier
Tags
Methods
__construct()
public
__construct(string $entityClass, array<string, mixed> $identifier) : mixed
Parameters
- $entityClass : string
-
The entity class name. In a inheritance hierarchy it should always be the root entity class.
- $identifier : array<string, mixed>
-
The entity identifier