protected function getNamespace($namespace = null)
    {
        if (!is_null($namespace)) {
            $parts = explode('\\', $namespace);

            array_pop($parts);

            return join('\\', $parts);
        }

        return $this->getAppNamespace() . $this->namespace;
    }
protected function getNamespace($namespace = null)
    {
        if (!is_null($namespace)) {
            $parts = explode('\\', $namespace);

            array_pop($parts);

            return join('\\', $parts);
        }

        return $this->getAppNamespace() . $this->namespace;
    }
protected function getNamespace ( $ namespace = null ) { if ( ! is_null ( $ namespace ) ) { $ parts = explode ( '\\' , $ namespace ) ; array_pop ( $ parts ) ; return join ( '\\' , $ parts ) ; } return $ this -> getAppNamespace ( ) . $ this -> namespace ; }
Get the namespace of the repositories classes.

@return string
Get the namespace of the repositories classes .