Constructor.
Initializes a new AnnotationReader.
public function __construct() {
AnnotationRegistry::registerFile(__DIR__ . '/Annotation/IgnoreAnnotation.php');
$this->parser = new DocParser();
$this->preParser = new DocParser();
$this->preParser
->setImports(self::$globalImports);
$this->preParser
->setIgnoreNotImportedAnnotations(true);
$this->phpParser = new PhpParser();
}