protected function getControllerName($name, $namespace)
    {
        if (empty($namespace)) {
            return $name;
        }

        $path = Helpers::postFixWith($namespace, '\\');

        return Helpers::convertSlashToBackslash($path . $name);
    }
protected function getControllerName($name, $namespace)
    {
        if (empty($namespace)) {
            return $name;
        }

        $path = Helpers::postFixWith($namespace, '\\');

        return Helpers::convertSlashToBackslash($path . $name);
    }
protected function getControllerName ( $ name , $ namespace ) { if ( empty ( $ namespace ) ) { return $ name ; } $ path = Helpers :: postFixWith ( $ namespace , '\\' ) ; return Helpers :: convertSlashToBackslash ( $ path . $ name ) ; }
Gets the correct controller name with the namespace.

@param string $name
@param string $namespace

@return string
Gets the correct controller name with the namespace .