public function buildNamespace($name) { if (!isset($this->namespaces[$name])) { // Debug package creation Log::debug('Creating: \\PDepend\\Source\\AST\\ASTNamespace(' . $name . ')'); $this->namespaces[$name] = new ASTNamespace($name); } return $this->namespaces[$name]; }