public getNamespaces ( ) : PDepend\Source\AST\ASTNamespace[] | ||
return | PDepend\Source\AST\ASTNamespace[] |
public function getNamespaces()
{
if ($this->namespaces === null) {
$msg = 'getNamespaces() doesn\'t work before the source was analyzed.';
throw new \RuntimeException($msg);
}
return $this->namespaces;
}