mediatekformation

CacheInterface

Persists ClassMetadata instances in a cache.

Tags
author

Bernhard Schussek bschussek@gmail.com

deprecated

since Symfony 4.4.

Table of Contents

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.

Methods

has()

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

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

read()

Returns the metadata for the given class from the cache.

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

Class Name

Return values
ClassMetadata|false

A ClassMetadata instance or false on miss

Search results