| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class MockRequestHandler implements RequestHandlerInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var ServerRequestInterface |
||
| 16 | */ |
||
| 17 | public $processedRequest; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | private $responseStatus; |
||
| 23 | |||
| 24 | public function __construct(int $responseStatus = 200) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
| 35 |