CustomResponseModel
in package
implements
ResponseClassInterface
Interfaces, Classes and Traits
- ResponseClassInterface
- Interface used to accept a completed OperationCommand and parse the result into a specific response type
Table of Contents
- $command : mixed
- __construct() : mixed
- fromCommand() : self
- Create a response model object from a completed command
Properties
$command
public
mixed
$command
Methods
__construct()
public
__construct(mixed $command) : mixed
Parameters
- $command : mixed
Return values
mixed —fromCommand()
Create a response model object from a completed command
public
static fromCommand(OperationCommand $command) : self
Parameters
- $command : OperationCommand
-
That serialized the request