Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Interfaces

  • HttpException

Exceptions

  • BadResponseException
  • ClientErrorResponseException
  • CouldNotRewindStreamException
  • CurlException
  • MultiTransferException
  • RequestException
  • ServerErrorResponseException
  • TooManyRedirectsException
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class MultiTransferException

Exception encountered during a multi transfer

Exception
Extended by Guzzle\Common\Exception\ExceptionCollection implements Guzzle\Common\Exception\GuzzleException, IteratorAggregate, Countable
Extended by Guzzle\Http\Exception\MultiTransferException

Direct known subclasses

Guzzle\Service\Exception\CommandTransferException
Namespace: Guzzle\Http\Exception
Located at Guzzle/Http/Exception/MultiTransferException.php
Methods summary
public array
# getAllRequests( )

Get all of the requests in the transfer

Get all of the requests in the transfer

Returns

array
public Guzzle\Http\Exception\MultiTransferException
# addSuccessfulRequest( Guzzle\Http\Message\RequestInterface $request )

Add to the array of successful requests

Add to the array of successful requests

Parameters

$request
Guzzle\Http\Message\RequestInterface
$request Successful request

Returns

Guzzle\Http\Exception\MultiTransferException
public Guzzle\Http\Exception\MultiTransferException
# addFailedRequest( Guzzle\Http\Message\RequestInterface $request )

Add to the array of failed requests

Add to the array of failed requests

Parameters

$request
Guzzle\Http\Message\RequestInterface
$request Failed request

Returns

Guzzle\Http\Exception\MultiTransferException
public Guzzle\Http\Exception\MultiTransferException
# setSuccessfulRequests( array $requests )

Set all of the successful requests

Set all of the successful requests

Parameters

$requests
array
Array of requests

Returns

Guzzle\Http\Exception\MultiTransferException
public Guzzle\Http\Exception\MultiTransferException
# setFailedRequests( array $requests )

Set all of the failed requests

Set all of the failed requests

Parameters

$requests
array
Array of requests

Returns

Guzzle\Http\Exception\MultiTransferException
public array
# getSuccessfulRequests( )

Get an array of successful requests sent in the multi transfer

Get an array of successful requests sent in the multi transfer

Returns

array
public array
# getFailedRequests( )

Get an array of failed requests sent in the multi transfer

Get an array of failed requests sent in the multi transfer

Returns

array
public boolean
# containsRequest( Guzzle\Http\Message\RequestInterface $request )

Check if the exception object contains a request

Check if the exception object contains a request

Parameters

$request
Guzzle\Http\Message\RequestInterface
$request Request to check

Returns

boolean
Methods inherited from Guzzle\Common\Exception\ExceptionCollection
add(), count(), getFirst(), getIterator(), setExceptions()
Methods inherited from Exception
__construct(), __toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected array $successfulRequests array()
#
protected array $failedRequests array()
#
Properties inherited from Guzzle\Common\Exception\ExceptionCollection
$exceptions
Properties inherited from Exception
$code, $file, $line, $message
php-coveralls API documentation generated by ApiGen 2.8.0