public function ApcCache::read in Plug 7
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
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Cache/ ApcCache.php, line 46
Class
Namespace
Symfony\Component\Validator\Mapping\CacheCode
public function read($class) {
return apc_fetch($this->prefix . $class);
}