Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | final class Info |
||
7 | { |
||
8 | 1 | public static function frameworkVersion(): string |
|
11 | } |
||
12 | |||
13 | /** |
||
14 | * Returns a value indicating whether a URL is relative. |
||
15 | * A relative URL does not have host info part. |
||
16 | * @param string $url the URL to be checked |
||
17 | * @return bool whether the URL is relative |
||
18 | */ |
||
19 | 13 | public static function isRelative($url) |
|
24 |