Command
Table of Contents
Namespaces
- Factory
- LocationVisitor
Interfaces
- CommandInterface
- A command object that contains parameters that can be modified and accessed like an array and turned into an array
- RequestSerializerInterface
- Translates command options and operation parameters into a request object
- ResponseClassInterface
- Interface used to accept a completed OperationCommand and parse the result into a specific response type
- ResponseParserInterface
- Parses the HTTP response of a command and sets the appropriate result on a command object
Classes
- AbstractCommand
- Command object to handle preparing and processing client requests and responses of the requests
- ClosureCommand
- A ClosureCommand is a command that allows dynamic commands to be created at runtime using a closure to prepare the
request. A closure key and \Closure value must be passed to the command in the constructor. The closure must
accept the command object as an argument.
- CreateResponseClassEvent
- Event class emitted with the operation.parse_class event
- DefaultRequestSerializer
- Default request serializer that transforms command options and operation parameters into a request
- DefaultResponseParser
- Default HTTP response parser used to marshal JSON responses into arrays and XML responses into SimpleXMLElement
- OperationCommand
- A command that creates requests based on {@see Guzzle\Service\Description\OperationInterface} objects, and if the
matching operation uses a service description model in the responseClass attribute, then this command will marshal
the response into an associative array based on the JSON schema of the model.
- OperationResponseParser
- Response parser that attempts to marshal responses into an associative array based on models in a service description