Drest\Mapping\Driver\AnnotationDriver::__construct PHP Method

__construct() public method

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