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