| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Laminas extends AbstractFactory |
||
| 16 | { |
||
| 17 | 3 | public function __construct() |
|
| 18 | { |
||
| 19 | try { |
||
| 20 | 3 | $this->responseFactory = new ResponseFactory(); |
|
| 21 | 3 | $this->streamFactory = new StreamFactory(); |
|
| 22 | // @codeCoverageIgnoreStart |
||
| 23 | } catch (Throwable) { |
||
| 24 | throw new RuntimeException('Install nyholm/psr7-server'); |
||
| 25 | // @codeCoverageIgnoreEnd |
||
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 29 | 2 | public function request(): PsrServerRequest |
|
| 32 | } |
||
| 33 | } |
||
| 34 |