Drest\Mapping\Driver\AnnotationDriver::__construct PHP 메소드

__construct() 공개 메소드

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