You are here

public function CacheInterface::write in Zircon Profile 8

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

Stores a class metadata in the cache.

Parameters

ClassMetadata $metadata A Class Metadata:

2 methods override CacheInterface::write()
ApcCache::write in vendor/symfony/validator/Mapping/Cache/ApcCache.php
Stores a class metadata in the cache.
DoctrineCache::write in vendor/symfony/validator/Mapping/Cache/DoctrineCache.php
Stores a class metadata in the cache.

File

vendor/symfony/validator/Mapping/Cache/CacheInterface.php, line 44

Class

CacheInterface
Persists ClassMetadata instances in a cache.

Namespace

Symfony\Component\Validator\Mapping\Cache

Code

public function write(ClassMetadata $metadata);