public function 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

1 method overrides CacheInterface::read()
ApcCache::read in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/Cache/ApcCache.php
Returns the metadata for the given class from the cache

File

drupal/core/vendor/symfony/validator/Symfony/Component/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);