mediatekformation

EntityCacheEntry
in package
implements CacheEntry

Entity cache entry

Interfaces, Classes, Traits and Enums

CacheEntry
Cache entry interface

Table of Contents

$class  : string
READ-ONLY: Public only for performance reasons, it should be considered immutable.
$data  : array<string, mixed>
READ-ONLY: Public only for performance reasons, it should be considered immutable.
__construct()  : mixed
__set_state()  : EntityCacheEntry
Creates a new EntityCacheEntry
resolveAssociationEntries()  : array<string, mixed>
Retrieves the entity data resolving cache entries

Properties

$class

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

public string $class

The entity class name

Tags
psalm-var

class-string

$data

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

public array<string, mixed> $data

The entity map data

Methods

__construct()

public __construct(string $class, array<string, mixed> $data) : mixed
Parameters
$class : string

The entity class.

$data : array<string, mixed>

The entity data.

Tags
psalm-param

class-string $class

Return values
mixed

__set_state()

Creates a new EntityCacheEntry

public static __set_state(array<string, mixed> $values) : EntityCacheEntry

This method allow Doctrine\Common\Cache\PhpFileCache compatibility

Parameters
$values : array<string, mixed>

array containing property values

Return values
EntityCacheEntry

Search results