F::safeName()
Sanitize a file's full name (filename and extension) to strip unwanted special characters
F::safeName(string $string): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |
– | The file name |
Return type
string