mediatekformation

Psr6Cache
in package
implements CacheInterface

PSR-6 adapter.

Tags
author

Kévin Dunglas dunglas@gmail.com

deprecated

since Symfony 4.4.

Interfaces, Classes, Traits and Enums

CacheInterface
Persists ClassMetadata instances in a cache.

Table of Contents

$cacheItemPool  : mixed
__construct()  : mixed
has()  : mixed
Returns whether metadata for the given class exists in the cache.
read()  : ClassMetadata|false
Returns the metadata for the given class from the cache.
write()  : mixed
Stores a class metadata in the cache.
escapeClassName()  : string
Replaces backslashes by dots in a class name.

Properties

Methods

has()

Returns whether metadata for the given class exists in the cache.

public has(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

read()

Returns the metadata for the given class from the cache.

public read(mixed $class) : ClassMetadata|false
Parameters
$class : mixed

Class Name

Return values
ClassMetadata|false

A ClassMetadata instance or false on miss

escapeClassName()

Replaces backslashes by dots in a class name.

private escapeClassName(string $class) : string
Parameters
$class : string
Return values
string

Search results