public function postRedirect(string $url = null, array $data = []) : void
    {
        $this->postRedirectUrl = $url;
        $this->postRedirectData = $data;
    }
public function postRedirect(string $url = null, array $data = []) : void
    {
        $this->postRedirectUrl = $url;
        $this->postRedirectData = $data;
    }
public function postRedirect ( string $ url = null , array $ data = [ ] ) : void { $ this -> postRedirectUrl = $ url ; $ this -> postRedirectData = $ data ; }
Trigger the user to perform a POST to the given URL with the given data.

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