You are here

public function CachedReader::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php \Doctrine\Common\Annotations\CachedReader::__construct()

Constructor.

Parameters

Reader $reader:

Cache $cache:

bool $debug:

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php, line 64

Class

CachedReader
A cache aware annotation reader.

Namespace

Doctrine\Common\Annotations

Code

public function __construct(Reader $reader, Cache $cache, $debug = false) {
  $this->delegate = $reader;
  $this->cache = $cache;
  $this->debug = (bool) $debug;
}