You are here

public function SimpleAnnotationReader::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php \Doctrine\Common\Annotations\SimpleAnnotationReader::__construct()

Constructor.

Initializes a new SimpleAnnotationReader.

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php, line 44

Class

SimpleAnnotationReader
Simple Annotation Reader.

Namespace

Doctrine\Common\Annotations

Code

public function __construct() {
  $this->parser = new DocParser();
  $this->parser
    ->setIgnoreNotImportedAnnotations(true);
}