Skip to content

Instantly share code, notes, and snippets.

@Sean-Spallen
Last active May 10, 2019 08:45
Show Gist options
  • Save Sean-Spallen/5df5db65ab2849614f0ef9d7efb104f2 to your computer and use it in GitHub Desktop.
Save Sean-Spallen/5df5db65ab2849614f0ef9d7efb104f2 to your computer and use it in GitHub Desktop.
Laravel - Delete Function
$flight = App\Flight::find(1);
$flight->delete();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment