You are here

public function SimpleAnnotationReader::__construct in Zircon Profile 8

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

Constructor.

Initializes a new SimpleAnnotationReader.

File

vendor/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);
}