mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 21:16:02 +03:00
19 lines
443 B
PHP
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);
|
|
}
|