mailgun-php/Mailgun/Guzzle/Service/Command/ResponseClassInterface.php
2013-07-17 22:48:12 -07:00

19 lines
443 B
PHP

<?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);
}