$file->touch()

Change the file's modification date to now and create it with an empty content if it is not there yet

  • return (boolean)

This documentation entry is inherited from the Media class.