| 1 | <?php |
||
| 7 | abstract class Validator |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Checks if a given url is a valid Git url. |
||
| 11 | * |
||
| 12 | * @param $url |
||
| 13 | * The URL to be checked. |
||
| 14 | * |
||
| 15 | * @return bool |
||
| 16 | * Whether the given URL is valid or not. |
||
| 17 | */ |
||
| 18 | public static function isGitUrl($url) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Checks if given standards are supported by the application. |
||
| 44 | * |
||
| 45 | * @param string $standards |
||
| 46 | * The standards to be validated |
||
| 47 | * |
||
| 48 | * @return bool |
||
| 49 | * Whether the given standards are valid or not. |
||
| 50 | */ |
||
| 51 | public static function areAllStandardsValid($standards) |
||
| 63 | } |
||
| 64 |