Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 4 | ||
Bugs | 2 | Features | 1 |
1 | <?php |
||
5 | class Validator |
||
6 | { |
||
7 | /** |
||
8 | * Checks if value is valid tld. |
||
9 | * |
||
10 | * @param mixed $value |
||
11 | * |
||
12 | * @return bool |
||
13 | */ |
||
14 | public static function isTld($value) |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Checks if value is valid tld. |
||
29 | * |
||
30 | * @param mixed $value |
||
31 | * |
||
32 | * @return bool |
||
33 | */ |
||
34 | public static function endsWithTld($value) |
||
42 |