Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class UriFactory implements UriFactoryInterface |
||
9 | { |
||
10 | /** |
||
11 | * Create a new URI. |
||
12 | * |
||
13 | * @param string $uri |
||
14 | * @return UriInterface |
||
15 | * @throws \InvalidArgumentException If the given URI cannot be parsed. |
||
16 | */ |
||
17 | public function createUri(string $uri = ''): UriInterface |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | private function getScheme(): string |
||
40 |