Bravo3\Orm\Mappers\Annotation\AnnotationMapper::addAnnotationPath PHP Метод

addAnnotationPath() публичный Метод

Adds a path to the annotation namespace autoloader
public addAnnotationPath ( string $namespace, string $path )
$namespace string Base namespace (eg "Foo\Bar")
$path string Path to PSR-0 root folder (eg __DIR__."/../src/")
    public function addAnnotationPath($namespace, $path)
    {
        AnnotationRegistry::registerAutoloadNamespace($namespace, $path);
        return $this;
    }