| 1 | <?php |
||
| 10 | class ValidationHelper |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Validates the format of the given namespace |
||
| 14 | * @param $namespace |
||
| 15 | * @return bool |
||
| 16 | * @throws RuntimeException |
||
| 17 | */ |
||
| 18 | public static function validateNamespace($namespace) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Validates the format of the given module name |
||
| 32 | * @param $moduleName |
||
| 33 | * @return bool |
||
| 34 | * @throws RuntimeException |
||
| 35 | */ |
||
| 36 | public static function validateModuleName($moduleName) |
||
| 44 | } |
||
| 45 |