Route::get('entity/{id}', 'EntityController@edit');
class EntityController {
public function edit(Entity $id)
{
//code
}
}
$id->remove();
// Provider
$toute->bind('my_model', Blog::class);
// Route
Route::get('entity/{my_model}', 'EntityController@edit');
// Controller
class EntityController {
public function edit(Blog $model)
{
//code
}
}