🔥 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.
![tip-image-0](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666554776/tips/exwmpvhtve6hjektdgek.jpg)
Other tips:
🔥 Laravel Tip: The upsert method
May 2, 2022
🔥 Laravel tip: The Elvis operator.
Jan 29, 2022