public function storeRefererUrlFromRequest(Request $request): RequestService
    {
        $url = $this->getRefererUrl($request);

        /*
         * No referer?
         * Nothing to do
         */
        if ('' === $url) {
            return $this;
        }

        return $this->storeRefererUrl($url);
    }
public function storeRefererUrlFromRequest(Request $request): RequestService
    {
        $url = $this->getRefererUrl($request);

        /*
         * No referer?
         * Nothing to do
         */
        if ('' === $url) {
            return $this;
        }

        return $this->storeRefererUrl($url);
    }
public function storeRefererUrlFromRequest ( Request $ request ) : RequestService { $ url = $ this -> getRefererUrl ( $ request ) ; /*
         * No referer?
         * Nothing to do
         */ if ( '' === $ url ) { return $ this ; } return $ this -> storeRefererUrl ( $ url ) ; }
Stores the referer url in session grabbed from given request

@param Request $request The request (that probably contains referer)
@return RequestService
Stores the referer url in session grabbed from given request