mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 06:06:45 +02:00
feat(endpoints): update basic Endpoints class #565
This commit is contained in:
@@ -40,6 +40,8 @@ class Endpoints
|
||||
* @param ResponseInterface $response PSR7 response.
|
||||
* @param array $body Response body.
|
||||
* @param int $status Status code.
|
||||
*
|
||||
* @return ResponseInterface Response.
|
||||
*/
|
||||
public function getApiResponse(ResponseInterface $response, array $body = [], int $status = 200): ResponseInterface
|
||||
{
|
||||
|
Reference in New Issue
Block a user