protected function getRefererQueryParameters(Request $request)
    {
        $referer = $request->server->get('HTTP_REFERER');
        $request = Request::create($referer);

        return (array) $request->query->getIterator();
    }
protected function getRefererQueryParameters(Request $request)
    {
        $referer = $request->server->get('HTTP_REFERER');
        $request = Request::create($referer);

        return (array) $request->query->getIterator();
    }
protected function getRefererQueryParameters ( Request $ request ) { $ referer = $ request -> server -> get ( 'HTTP_REFERER' ) ; $ request = Request :: create ( $ referer ) ; return ( array ) $ request -> query -> getIterator ( ) ; }
Get an array of query parameters used in the request.

@param Request $request

@return array
Get an array of query parameters used in the request .