You can use giveConfig() when using contextual binding
- ·
- Telegram
- ·
- Newsletter
Most of the times I've used contextual binding in Laravel, it's been to share config values.
TIL there's a more succinct giveConfig method for that
Most of the times I've used contextual binding in Laravel, it's been to share config values.
TIL there's a more succinct giveConfig method for that
We're writing a book, you can get it for free here. We're writing a book! Join the early access to get it for free.