public function getNamespaceName()
    {
        $parts = $this->node->consts[0]->namespacedName->parts;
        array_pop($parts);
        return implode('\\', $parts);
    }
public function getNamespaceName()
    {
        $parts = $this->node->consts[0]->namespacedName->parts;
        array_pop($parts);
        return implode('\\', $parts);
    }
public function getNamespaceName ( ) { $ parts = $ this -> node -> consts [ 0 ] -> namespacedName -> parts ; array_pop ( $ parts ) ; return implode ( '\\' , $ parts ) ; }
Get the namespace name where the constant is defined.

@return string
Get the namespace name where the constant is defined .