Collective\Annotations\AnnotationScanner::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()
    {
        $reader = new SimpleAnnotationReader();
        foreach ($this->namespaces as $namespace) {
            $reader->addNamespace($namespace);
        }
        return $reader;
    }