CollectionCacheKey
extends CacheKey
in package
Defines entity collection roles to be stored in the cache region.
Table of Contents
Properties
- $association : string
- The association name
- $entityClass : string
- The owner entity class
- $hash : string
- Unique identifier
- $ownerIdentifier : array<string, mixed>
- The owner entity identifier
Methods
- __construct() : mixed
Properties
$association
The association name
public
string
$association
Tags
$entityClass
The owner entity class
public
string
$entityClass
Tags
$hash
Unique identifier
public
string
$hash
Tags
$ownerIdentifier
The owner entity identifier
public
array<string, mixed>
$ownerIdentifier
Tags
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.