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