protected function Request::getEventArray

Get an array containing the request and response for event notifications

Return value

array

2 calls to Request::getEventArray()
Request::processResponse in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Process a received response
Request::setResponse in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Manually set a response for the request.

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php, line 707

Class

Request
HTTP request class to send requests

Namespace

Guzzle\Http\Message

Code

protected function getEventArray() {
  return array(
    'request' => $this,
    'response' => $this->response,
  );
}