1: <?php
2:
3: namespace Guzzle\Service\Command;
4:
5: use Guzzle\Http\Message\RequestInterface;
6: use Guzzle\Service\Command\CommandInterface;
7:
8: /**
9: * Translates command options and operation parameters into a request object
10: */
11: interface RequestSerializerInterface
12: {
13: /**
14: * Create a request for a command
15: *
16: * @param CommandInterface $command Command that will own the request
17: *
18: * @return RequestInterface
19: */
20: public function prepare(CommandInterface $command);
21: }
22: