Omnipay\Common\Message\AbstractRequest::send PHP Метод

send() публичный Метод

Send the request
public send ( ) : Omnipay\Common\Message\ResponseInterface
Результат Omnipay\Common\Message\ResponseInterface
    public function send()
    {
        $data = $this->getData();
        return $this->sendData($data);
    }

Usage Example

 public function testSendError()
 {
     $this->setMockHttpResponse('CaptureFailure.txt');
     $response = $this->request->send();
     $this->assertFalse($response->isSuccessful());
     $this->assertFalse($response->isRedirect());
     $this->assertSame('Failure', $response->getMessage());
 }
All Usage Examples Of Omnipay\Common\Message\AbstractRequest::send