Adamgoose\Routing\Annotations\Scanner::getReader PHP Method

getReader() protected method

Get an annotation reader instance.
protected getReader ( ) : Doctrine\Common\Annotations\SimpleAnnotationReader
return Doctrine\Common\Annotations\SimpleAnnotationReader
    protected function getReader()
    {
        with($reader = new SimpleAnnotationReader())->addNamespace('Adamgoose\\Routing\\Annotations\\Annotations');
        return $reader;
    }