$file->remove()

Alternative for delete

  • return (boolean)

This documentation entry is inherited from the Media class.