mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
11 lines
456 B
Markdown
11 lines
456 B
Markdown
---
|
|
title: 'You can use ->where() on Rule instances without passing a callback'
|
|
tweet_id: '1456649614300356615'
|
|
thread_slug: weekly-thread-2021-44
|
|
author_username: jbrooksuk
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FDDdhwiXEAIY4vZ.jpg'
|
|
created_at: 2021-11-05T15:48:25+00:00
|
|
slug: you-can-use-where-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?
|