You are here

public function DoctrineCache::setCache in Zircon Profile 8

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

Sets the cache to adapt.

Parameters

Cache $cache The cache to adapt:

File

vendor/symfony/validator/Mapping/Cache/DoctrineCache.php, line 41

Class

DoctrineCache
Adapts a Doctrine cache to a CacheInterface.

Namespace

Symfony\Component\Validator\Mapping\Cache

Code

public function setCache(Cache $cache) {
  $this->cache = $cache;
}