Total Complexity | 7 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 0 | Features | 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 |
|
31 | { |
||
32 | 1 | return self::makeInstance(StreamFactoryInterface::class); |
|
33 | } |
||
34 | |||
35 | 1 | public static function uploadedFileFactory(): UploadedFileFactoryInterface |
|
36 | { |
||
37 | 1 | return self::makeInstance(UploadedFileFactoryInterface::class); |
|
38 | } |
||
39 | |||
40 | 1 | public static function uriFactory(): UriFactoryInterface |
|
41 | { |
||
42 | 1 | return self::makeInstance(UriFactoryInterface::class); |
|
43 | } |
||
44 | |||
45 | 6 | protected static function locate(string $interface): string |
|
48 | } |
||
49 | } |
||
50 |