mediatekformation

DoctrineCache
in package
implements CacheInterface

Adapts a Doctrine cache to a CacheInterface.

Tags
author

Florian Voutzinos florian@voutzinos.com

deprecated

since Symfony 4.4.

Interfaces, Classes, Traits and Enums

CacheInterface
Persists ClassMetadata instances in a cache.

Table of Contents

$cache  : mixed
__construct()  : mixed
has()  : bool
Returns whether metadata for the given class exists in the cache.
read()  : ClassMetadata|false
Returns the metadata for the given class from the cache.
setCache()  : mixed
write()  : mixed
Stores a class metadata in the cache.

Properties

Methods

has()

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

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

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

Search results