blob: 325dd08dff0f22254d07ba718c5bdfc7e1940571 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
namespace Guzzle\Service\Command;
/**
* Interface used to accept a completed OperationCommand and parse the result into a specific response type
*/
interface ResponseClassInterface
{
/**
* Create a response model object from a completed command
*
* @param OperationCommand $command That serialized the request
*
* @return self
*/
public static function fromCommand(OperationCommand $command);
}
|