src/Headzoo/Core/Obj.php
public function getNamespaceName()
    {
        $caller = get_called_class();
        $parts  = explode('\\', $caller);
        array_pop($parts);
        
        return join('\\', $parts);
    }
public function getNamespaceName()
    {
        $caller = get_called_class();
        $parts  = explode('\\', $caller);
        array_pop($parts);
        
        return join('\\', $parts);
    }
public function getNamespaceName ( ) { $ caller = get_called_class ( ) ; $ parts = explode ( '\\' , $ caller ) ; array_pop ( $ parts ) ; return join ( '\\' , $ parts ) ; }
Returns the name of the class namespace

The namespace will not have a leading forward-slash, eg "Headzoo\Core" instead
of "\Headzoo\Core". An empty string is returned when the class is in the
global namespace.

@return string
Returns the name of the class namespace