@@ -49,6 +49,9 @@ |
||
| 49 | 49 | |
| 50 | 50 | # Validate file or directory name |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @return string |
|
| 54 | + */ |
|
| 52 | 55 | public static function fileName(string $value) { |
| 53 | 56 | |
| 54 | 57 | return (preg_match(REGEX_FILE_NAME, $value) ? $name : false); |