You are here

public function CachedReader::__construct in Plug 7

Constructor.

Parameters

Reader $reader:

Cache $cache:

bool $debug:

File

lib/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;
}