public function __construct(Annotations\AnnotationReader $reader, $paths = []) { parent::__construct($paths); $this->addExtension('php'); $this->reader = $reader; }