mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
Weekly thread #5
This commit is contained in:
parent
e907eba3dd
commit
c9fdb7c5cd
13 changed files with 128 additions and 2 deletions
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title: 'Specify container bindings using the $bindings array'
|
||||
tweet_id: '1494019548374126594'
|
||||
thread_slug: weekly-thread-2022-07
|
||||
author_username: freekmurze
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FLKZmOCWYAAq9Hd.jpg'
|
||||
created_at: 2022-02-16T18:43:12+00:00
|
||||
slug: specify-container-bindings-using-the-bindings-array
|
||||
---
|
||||
🔥 Cool tidbit I learned during @LukeDowning19 ’s talk.
|
||||
|
||||
You can add a `$bindings` array to a service provider to bind things.
|
||||
|
||||
https://laravel.com/docs/9.x/providers#the-bindings-and-singletons-properties
|
||||
#laravel #php
|
||||
Loading…
Add table
Add a link
Reference in a new issue