protected function getFullViewsPath($viewsDirectory, $routesPrefix)
    {
        $path = !empty($routesPrefix) ? Helpers::getPathWithSlash(str_replace('.', '-', $routesPrefix)) : '';

        if (!empty($viewsDirectory)) {
            $path .= Helpers::getPathWithSlash($viewsDirectory);
        }

        return $path;
    }
protected function getFullViewsPath($viewsDirectory, $routesPrefix)
    {
        $path = !empty($routesPrefix) ? Helpers::getPathWithSlash(str_replace('.', '-', $routesPrefix)) : '';

        if (!empty($viewsDirectory)) {
            $path .= Helpers::getPathWithSlash($viewsDirectory);
        }

        return $path;
    }
protected function getFullViewsPath ( $ viewsDirectory , $ routesPrefix ) { $ path = ! empty ( $ routesPrefix ) ? Helpers :: getPathWithSlash ( str_replace ( '.' , '-' , $ routesPrefix ) ) : '' ; if ( ! empty ( $ viewsDirectory ) ) { $ path .= Helpers :: getPathWithSlash ( $ viewsDirectory ) ; } return $ path ; }
Gets destenation view path

@param string $viewsDirectory
@param string $routesPrefix

@return $this
Gets destenation view path