| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class HttpFactory extends DiscoveryCache |
||
| 14 | { |
||
| 15 | 1 | public static function requestFactory(): RequestFactoryInterface |
|
| 16 | { |
||
| 17 | 1 | return self::makeInstance(RequestFactoryInterface::class); |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | public static function responseFactory(): ResponseFactoryInterface |
|
| 21 | { |
||
| 22 | 1 | return self::makeInstance(ResponseFactoryInterface::class); |
|
| 23 | } |
||
| 24 | |||
| 25 | 1 | public static function serverRequestFactory(): ServerRequestFactoryInterface |
|
| 26 | { |
||
| 27 | 1 | return self::makeInstance(ServerRequestFactoryInterface::class); |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | public static function streamFactory(): StreamFactoryInterface |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | public static function uploadedFileFactory(): UploadedFileFactoryInterface |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public static function uriFactory(): UriFactoryInterface |
|
| 43 | } |
||
| 44 | |||
| 45 | 6 | protected static function locate(string $interface): string |
|
| 48 | } |
||
| 49 | } |
||
| 50 |