mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-26 23:06:06 +03:00
22 lines
486 B
PHP
22 lines
486 B
PHP
|
<?php
|
||
|
|
||
|
namespace Guzzle\Service\Command;
|
||
|
|
||
|
use Guzzle\Http\Message\RequestInterface;
|
||
|
use Guzzle\Service\Command\CommandInterface;
|
||
|
|
||
|
/**
|
||
|
* Translates command options and operation parameters into a request object
|
||
|
*/
|
||
|
interface RequestSerializerInterface
|
||
|
{
|
||
|
/**
|
||
|
* Create a request for a command
|
||
|
*
|
||
|
* @param CommandInterface $command Command that will own the request
|
||
|
*
|
||
|
* @return RequestInterface
|
||
|
*/
|
||
|
public function prepare(CommandInterface $command);
|
||
|
}
|