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