Route model binding
Also written: route binding
Laravel sees a Model type on a method, finds the row matching the URL part (such as {product:slug}) and passes it in, or answers 404.
Also written: route binding
Laravel sees a Model type on a method, finds the row matching the URL part (such as {product:slug}) and passes it in, or answers 404.