public function fetchRefererUrl(): string
    {
        $url = $this->session->get($this->refererUrlKey, '');
        $this->session->remove($this->refererUrlKey);

        return $url;
    }
public function fetchRefererUrl(): string
    {
        $url = $this->session->get($this->refererUrlKey, '');
        $this->session->remove($this->refererUrlKey);

        return $url;
    }
public function fetchRefererUrl ( ) : string { $ url = $ this -> session -> get ( $ this -> refererUrlKey , '' ) ; $ this -> session -> remove ( $ this -> refererUrlKey ) ; return $ url ; }
Fetches url of referer and removes it from session

@return string
Fetches url of referer and removes it from session