public function CachedReader::__construct

Constructor

Parameters

Reader $reader:

Cache $cache:

bool $debug:

File

drupal/core/vendor/doctrine/common/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;
}