Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($command, $response) | |
Static Public Member Functions | |
static | fromCommand (CommandInterface $command, Response $response) |
Data Fields | |
$command | |
$response | |
Definition at line 9 of file ErrorResponseMock.php.
Guzzle\Tests\Mock\ErrorResponseMock::__construct | ( | $command, | |
$response | |||
) |
Definition at line 19 of file ErrorResponseMock.php.
References Guzzle\Tests\Mock\ErrorResponseMock\$command, and Guzzle\Tests\Mock\ErrorResponseMock\$response.
|
static |
Create an exception for a command based on a command and an error response definition
CommandInterface | $command | Command that was sent |
Response | $response | The error response |
Implements Guzzle\Plugin\ErrorResponse\ErrorResponseExceptionInterface.
Definition at line 14 of file ErrorResponseMock.php.
References Guzzle\Tests\Mock\ErrorResponseMock\$command, and Guzzle\Tests\Mock\ErrorResponseMock\$response.
Guzzle\Tests\Mock\ErrorResponseMock::$command |
Definition at line 11 of file ErrorResponseMock.php.
Referenced by Guzzle\Tests\Mock\ErrorResponseMock\__construct(), and Guzzle\Tests\Mock\ErrorResponseMock\fromCommand().
Guzzle\Tests\Mock\ErrorResponseMock::$response |
Definition at line 12 of file ErrorResponseMock.php.
Referenced by Guzzle\Tests\Mock\ErrorResponseMock\__construct(), and Guzzle\Tests\Mock\ErrorResponseMock\fromCommand().