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