mediatekformation

EntityCacheKey extends CacheKey
in package

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

Table of Contents

$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.
$identifier  : array<string, mixed>
READ-ONLY: Public only for performance reasons, it should be considered immutable.
__construct()  : mixed

Properties

$entityClass

READ-ONLY: Public only for performance reasons, it should be considered immutable.

public string $entityClass

The entity class name

$hash

READ-ONLY: Public only for performance reasons, it should be considered immutable.

public string $hash

Unique identifier

$identifier

READ-ONLY: Public only for performance reasons, it should be considered immutable.

public array<string, mixed> $identifier

The entity identifier

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

Return values
mixed

Search results