| Total Complexity | 2 |
| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class WebResponseFactory implements WebResponseFactoryInterface |
||
| 10 | { |
||
| 11 | protected ResponseFactoryInterface $responseFactory; |
||
| 12 | |||
| 13 | public function __construct(ResponseFactoryInterface $responseFactory) |
||
| 14 | { |
||
| 15 | $this->responseFactory = $responseFactory; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function createResponse($data = null, int $code = Status::OK, string $reasonPhrase = ''): ResponseInterface |
||
| 21 | } |
||
| 22 | } |
||
| 23 |