| 1 | <?php |
||
| 8 | class SuccessResponse extends AbstractResponse |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var mixed |
||
| 12 | */ |
||
| 13 | private $result; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Constructor. |
||
| 17 | * |
||
| 18 | * @param mixed $id |
||
| 19 | * @param mixed $result |
||
| 20 | */ |
||
| 21 | public function __construct($id, $result) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | public function getResult() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | public function toArray() |
||
| 45 | } |
||
| 46 |