You are here

public function DoctrineCache::__construct in Zircon Profile 8.0

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

Creates a new Doctrine cache.

Parameters

Cache $cache The cache to adapt:

File

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

Class

DoctrineCache
Adapts a Doctrine cache to a CacheInterface.

Namespace

Symfony\Component\Validator\Mapping\Cache

Code

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