$file->safeName()

Returns the filename as safe name

  • return (string)

This documentation entry is inherited from the Media class.