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