public function DoctrineCache::write 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::write()
Stores a class metadata in the cache.
Parameters
ClassMetadata $metadata A Class Metadata:
Overrides CacheInterface::write
File
- vendor/
symfony/ validator/ Mapping/ Cache/ DoctrineCache.php, line 65
Class
- DoctrineCache
- Adapts a Doctrine cache to a CacheInterface.
Namespace
Symfony\Component\Validator\Mapping\CacheCode
public function write(ClassMetadata $metadata) {
$this->cache
->save($metadata
->getClassName(), $metadata);
}