I wonder about the best practice way of deleting an object made from a model?
I have seen several similar questions but no one touching on the whole subject nor my specifics further down.

I want to create a delete-button deleting a specific object in laravel. I know how to do this but am afraid I am over complicating things.

Let say I have a model named Post

I also have the controller PostController. When I made this controller I resourced it. Thanks to that I have several methods prepared eg. destroy

```
 /**
 * Remove the specified resource from storage.
 *
 * @param  \App\Post  $post
 * @return \Illuminate\Http\Response
 */
public function destroy(Post $post)
{
    //
}

```

I am getting a bit confused as if to why it gives me the type hint **Post** and also the $post parameter? For me it would make sense if it took $id as a parameter.

BUT again and again, I am not Tay-Tay. So every time something does not make sense to me I think that I just missed something. SO, with risk of being to broad how do I make the a delete button that uses the pre-defined destroy method? am looking for an answer on these three steps:

1. HTML (How to make the form / button)
2. web.php (the route)
3. PostController (how do I execute the destroy? I know how to do it with the id but with the whole object as a parameter? How is that even sent in the first place? )