public function CachedReader::__construct in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php \Doctrine\Common\Annotations\CachedReader::__construct()
Constructor.
Parameters
Reader $reader:
Cache $cache:
bool $debug:
File
- modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ CachedReader.php, line 64
Class
- CachedReader
- A cache aware annotation reader.
Namespace
Doctrine\Common\AnnotationsCode
public function __construct(Reader $reader, Cache $cache, $debug = false) {
$this->delegate = $reader;
$this->cache = $cache;
$this->debug = (bool) $debug;
}