| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class LeagueUriAdapter implements AdapterInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @inheritDoc |
||
| 14 | */ |
||
| 15 | public function createUri(string $uri = ''): UriInterface |
||
| 16 | { |
||
| 17 | return Http::createFromString($uri); |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritDoc |
||
| 22 | */ |
||
| 23 | public static function factory(): UriFactoryInterface |
||
| 24 | { |
||
| 25 | return new self; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritDoc |
||
| 30 | */ |
||
| 31 | public static function isInstalled(): bool |
||
| 34 | } |
||
| 35 | } |
||
| 36 |