CollectionCacheKey
extends CacheKey
in package
Defines entity collection roles to be stored in the cache region.
Table of Contents
- $association : string
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $entityClass : string
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $hash : string
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- $ownerIdentifier : array<string, mixed>
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- __construct() : mixed
Properties
$association
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
string
$association
The association name
$entityClass
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
string
$entityClass
The owner entity class
$hash
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
string
$hash
Unique identifier
$ownerIdentifier
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
array<string, mixed>
$ownerIdentifier
The owner entity identifier
Methods
__construct()
public
__construct(string $entityClass, string $association, array<string, mixed> $ownerIdentifier) : mixed
Parameters
- $entityClass : string
-
The entity class.
- $association : string
-
The field name that represents the association.
- $ownerIdentifier : array<string, mixed>
-
The identifier of the owning entity.