public function CacheInterface::write in Plug 7
Stores a class metadata in the cache.
Parameters
ClassMetadata $metadata A Class Metadata:
2 methods override CacheInterface::write()
- ApcCache::write in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Cache/ ApcCache.php - Stores a class metadata in the cache.
- DoctrineCache::write in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Cache/ DoctrineCache.php - Stores a class metadata in the cache.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ Cache/ CacheInterface.php, line 44
Class
- CacheInterface
- Persists ClassMetadata instances in a cache.
Namespace
Symfony\Component\Validator\Mapping\CacheCode
public function write(ClassMetadata $metadata);