Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class GuzzleAdapter implements AdapterInterface |
||
10 | { |
||
11 | /** |
||
12 | * GuzzleAdapter constructor. |
||
13 | */ |
||
14 | protected function __construct() |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @inheritDoc |
||
20 | */ |
||
21 | public function createUri(string $uri = ''): UriInterface |
||
22 | { |
||
23 | return new Uri($uri); |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @inheritDoc |
||
28 | */ |
||
29 | public static function factory(): UriFactoryInterface |
||
30 | { |
||
31 | return new self; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | public static function isInstalled(): bool |
||
40 | } |
||
41 | } |
||
42 |