mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
Weekly thread #48
This commit is contained in:
parent
89584d53c4
commit
bd22b914cb
14 changed files with 160 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: 'You can use giveConfig() when using contextual binding'
|
||||
tweet_id: '1466810190271946757'
|
||||
thread_slug: weekly-thread-2021-48
|
||||
author_username: sebdedeyne
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FFdDMbgUcA4YjoD.jpg'
|
||||
created_at: 2021-12-03T16:42:56+00:00
|
||||
slug: 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue