Provider/RouteProvider.php
private function getNormalizedPath(Request $request)
    {
        $path  = ltrim($request->getPathInfo(), '/');
        $paths = explode(self::PATH_PARAMS_SEPARATOR, $path);
        
        return current($paths);
    }
private function getNormalizedPath(Request $request)
    {
        $path  = ltrim($request->getPathInfo(), '/');
        $paths = explode(self::PATH_PARAMS_SEPARATOR, $path);
        
        return current($paths);
    }
private function getNormalizedPath ( Request $ request ) { $ path = ltrim ( $ request -> getPathInfo ( ) , '/' ) ; $ paths = explode ( self :: PATH_PARAMS_SEPARATOR , $ path ) ; return current ( $ paths ) ; }
Returns normalized path used in resource query

@param Request $request

@return mixed
Returns normalized path used in resource query