ApiResponse
Namespace
IO\Api
Type | Name | Description |
---|---|---|
|
||
|
||
|
||
|
||
|
||
|
Methods
public __construct($dispatcher, $response, $notificationService)
ApiResponse constructor.
Type |
Name |
Description |
|
||
|
||
|
public error($code, $message = null):ApiResponse
Deprecated!
This method will not be supported in the future. Please refrain from using it as soon as possible. |
Type |
Name |
Description |
|
||
|
public success($code, $message = null):ApiResponse
Deprecated!
This method will not be supported in the future. Please refrain from using it as soon as possible. |
Type |
Name |
Description |
|
||
|
public info($code, $message = null):ApiResponse
Deprecated!
This method will not be supported in the future. Please refrain from using it as soon as possible. |
Type |
Name |
Description |
|
||
|
public header($key, $value):ApiResponse
Type |
Name |
Description |
|
||
|
public create($data, $code = \IO\Api\ResponseCode::OK, $headers = []): Response
Type |
Name |
Description |
|
||
|
||
|
Thank you for your feedback!