public function redirect(string $url, array $data = []) : void
    {
        $this->redirectUrl = $url;
        $this->redirectData = $data;
    }
public function redirect(string $url, array $data = []) : void
    {
        $this->redirectUrl = $url;
        $this->redirectData = $data;
    }
public function redirect ( string $ url , array $ data = [ ] ) : void { $ this -> redirectUrl = $ url ; $ this -> redirectData = $ data ; }
Trigger the user to perform a GET to the given URL with the given data.

@param string $url
@param array $data
@return void
Trigger the user to perform a GET to the given URL with the given data .