You are here

public function SimpleAnnotationReader::__construct in Plug 7

Constructor.

Initializes a new SimpleAnnotationReader.

File

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