public function DoctrineCache::read in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Mapping/Cache/DoctrineCache.php \Symfony\Component\Validator\Mapping\Cache\DoctrineCache::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
Overrides CacheInterface::read
File
- vendor/
symfony/ validator/ Mapping/ Cache/ DoctrineCache.php, line 57
Class
- DoctrineCache
- Adapts a Doctrine cache to a CacheInterface.
Namespace
Symfony\Component\Validator\Mapping\CacheCode
public function read($class) {
return $this->cache
->fetch($class);
}