public function ApcCache::write in Plug 7
Stores a class metadata in the cache.
Parameters
ClassMetadata $metadata A Class Metadata:
Overrides CacheInterface::write
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Cache/ ApcCache.php, line 51
Class
Namespace
Symfony\Component\Validator\Mapping\CacheCode
public function write(ClassMetadata $metadata) {
apc_store($this->prefix . $metadata
->getClassName(), $metadata);
}