1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Weekly thread #6 (before #5)

This commit is contained in:
lukinovec 2022-02-17 17:15:09 +01:00
parent c9fdb7c5cd
commit eebf38f267
8 changed files with 18 additions and 18 deletions

View file

@ -1,7 +1,7 @@
---
title: 'Laravel 9 can automatically bind route parameters to enums'
tweet_id: '1494019551310139392'
thread_slug: weekly-thread-2022-07
thread_slug: weekly-thread-2022-06
author_username: mmartin_joo
images:
- 'https://pbs.twimg.com/media/FLJ8Gt_XsAM98uy.jpg'
@ -10,4 +10,4 @@ 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:
You can type-hint your enum and Laravel will cast the string value from the URL: