mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
477 B
477 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can use giveConfig() when using contextual binding | 1466810190271946757 | weekly-thread-2021-48 | sebdedeyne |
|
2021-12-03T16:42:56+00:00 | you-can-use-giveconfig-when-using-contextual-binding |
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