You are here

public function ApcCache::write in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Mapping/Cache/ApcCache.php \Symfony\Component\Validator\Mapping\Cache\ApcCache::write()

Stores a class metadata in the cache.

Parameters

ClassMetadata $metadata A Class Metadata:

Overrides CacheInterface::write

File

vendor/symfony/validator/Mapping/Cache/ApcCache.php, line 53

Class

ApcCache

Namespace

Symfony\Component\Validator\Mapping\Cache

Code

public function write(ClassMetadata $metadata) {
  apc_store($this->prefix . $metadata
    ->getClassName(), $metadata);
}