1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/you-can-use-gtwhere-on-rule-instances-without-passing-a-callback.md
2021-11-05 17:12:37 +01:00

460 B

title tweet_id thread_slug author_username images created_at slug
You can use ->where() on Rule instances without passing a callback 1456649614300356615 weekly-thread-2021-44 jbrooksuk
https://pbs.twimg.com/media/FDDdhwiXEAIY4vZ.jpg
2021-11-05T15:48:25+00:00 you-can-use-gtwhere-on-rule-instances-without-passing-a-callback

Did you know that you don't have to pass a function to Laravel's "where" method when using the Rule class?