public function CurlMulti::all

Get an array of attached {

Return value

array

Overrides CurlMultiInterface::all

See also

RequestInterface} objects

3 calls to CurlMulti::all()
CurlMulti::count in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php
CurlMulti::perform in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php
Get the data from the multi handle
CurlMulti::reset in drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php
Reset the state and remove any attached RequestInterface objects

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php, line 185

Class

CurlMulti
Send { This implementation allows callers to send blocking requests that return back to the caller when their requests complete, regardless of whether or not previously sending requests in the curl_multi object have completed. The implementation…

Namespace

Guzzle\Http\Curl

Code

public function all() {
  if (!$this->requestCache) {
    $this->requestCache = empty($this->requests) ? array() : call_user_func_array('array_merge', $this->requests);
  }
  return $this->requestCache;
}