You are here

public function CacheInterface::read in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/Cache/CacheInterface.php \Symfony\Component\Validator\Mapping\Cache\CacheInterface::read()

Returns the metadata for the given class from the cache.

Parameters

string $class Class Name:

Return value

ClassMetadata|false A ClassMetadata instance or false on miss

2 methods override CacheInterface::read()
ApcCache::read in vendor/symfony/validator/Mapping/Cache/ApcCache.php
Returns the metadata for the given class from the cache.
DoctrineCache::read in vendor/symfony/validator/Mapping/Cache/DoctrineCache.php
Returns the metadata for the given class from the cache.

File

vendor/symfony/validator/Mapping/Cache/CacheInterface.php, line 37

Class

CacheInterface
Persists ClassMetadata instances in a cache.

Namespace

Symfony\Component\Validator\Mapping\Cache

Code

public function read($class);