protected function getNamespace($modelName, $modelDirectory)
    {
        $namespace = Helpers::getAppNamespace() . Config::getModelsPath($modelDirectory);

        return rtrim(Helpers::convertSlashToBackslash($namespace), '\\');
    }
protected function getNamespace($modelName, $modelDirectory)
    {
        $namespace = Helpers::getAppNamespace() . Config::getModelsPath($modelDirectory);

        return rtrim(Helpers::convertSlashToBackslash($namespace), '\\');
    }
protected function getNamespace ( $ modelName , $ modelDirectory ) { $ namespace = Helpers :: getAppNamespace ( ) . Config :: getModelsPath ( $ modelDirectory ) ; return rtrim ( Helpers :: convertSlashToBackslash ( $ namespace ) , '\\' ) ; }
Gets the model's namespace.

@param string $modelName
@param string $modelDirectory

@return string
Gets the model s namespace .