1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00

Weekly thread #5-#7, use actual created_at timestamp in Thread creation (#27)

* Weekly thread #5

* Weekly thread #6 (before #5)

* Weekly thread #5

* Correct the weekly thread created_at timestamps

* Add actual created_at to Thread

* Weekly thread #7

* Fix weekly thread #7

* Remove thread #8
This commit is contained in:
lukinovec 2022-02-21 17:24:21 +01:00 committed by GitHub
parent e907eba3dd
commit 1a53831d4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 363 additions and 3 deletions

View file

@ -0,0 +1,13 @@
---
title: 'Laravel 9 can automatically bind route parameters to enums'
tweet_id: '1494019551310139392'
thread_slug: weekly-thread-2022-06
author_username: mmartin_joo
images:
- 'https://pbs.twimg.com/media/FLJ8Gt_XsAM98uy.jpg'
created_at: 2022-02-16T18:43:13+00:00
slug: laravel-9-can-automatically-bind-route-parameters-to-enums
---
🔥Laravel 9 introduced enum route bindings!
You can type-hint your enum and Laravel will cast the string value from the URL: