public function addAnnotationNamespace($namespace, $path = null)
    {
        $this->namespaces[] = $namespace;

        return $this->registerAnnotationsPathWithRegistry(
            $path ?: $this->getPathFromNamespace($namespace)
        );
    }
public function addAnnotationNamespace($namespace, $path = null)
    {
        $this->namespaces[] = $namespace;

        return $this->registerAnnotationsPathWithRegistry(
            $path ?: $this->getPathFromNamespace($namespace)
        );
    }
public function addAnnotationNamespace ( $ namespace , $ path = null ) { $ this -> namespaces [ ] = $ namespace ; return $ this -> registerAnnotationsPathWithRegistry ( $ path ? : $ this -> getPathFromNamespace ( $ namespace ) ) ; }
Add an annotation namespace for the SimpleAnnotationReader instance.

If the second parameter is null, it will assume the namespace is PSR-4'd
inside your app folder.

@param string $namespace
@param string $path
Add an annotation namespace for the SimpleAnnotationReader instance .