Skip to content

Commit

Permalink
adds CustomResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
tenmajkl committed Aug 4, 2023
1 parent ff5c53f commit 1ce2576
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Lemon/Http/Responses/CustomResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

namespace Lemon\Http\Responses;

use Lemon\Http\Response;

/**
* Response with custom body.
*/
class CustomResponse extends Response
{
public function parseBody(): string
{
return $this->body;
}
}

0 comments on commit 1ce2576

Please sign in to comment.