mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
498 B
498 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can pass variables to Blade views using the `withFoo($bar)` syntax | 1505269888616591363 | weekly-thread-2022-11 | aschmelyun |
|
2022-03-19T19:48:02+00:00 | you-can-pass-variables-to-blade-views-using-the-withfoobar-syntax |
I had no idea that you could pass data into Laravel responses using with{Variable} magic methods! I kind of like this way a little better...