🔥 Laravel Tip: Customizing The Resolution Logic
Apr 18, 2022
You can define how your model gets bound by overwriting the resolveRouteBinding in your model class.
For example, if you need to resolve a model with two separate fields.
For example, if you need to resolve a model with two separate fields.
Other tips:
🔥 Laravel Tip: Merging eloquent collections
Sep 9, 2022
🔥 Laravel Tip: the discardChanges method.
Nov 29, 2022