\Guzzle\Tests\MockErrorResponseMock

Summary

Methods
Properties
Constants
fromCommand()
__construct()
$command
$response
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$command

$command : 

Type

$response

$response : 

Type

Methods

fromCommand()

fromCommand(\Guzzle\Service\Command\CommandInterface  $command, \Guzzle\Http\Message\Response  $response) : self

Create an exception for a command based on a command and an error response definition

Parameters

\Guzzle\Service\Command\CommandInterface $command

Command that was sent

\Guzzle\Http\Message\Response $response

The error response

Returns

self

__construct()

__construct(  $command,   $response) 

Parameters

$command
$response