Replies: 1 comment
-
Take a look at our validation attributes here: https://github.com/spatie/laravel-data/tree/main/src/Attributes/Validation They basically all are implemented like a custom rule.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have you? What will be implemented in
CustomRule
- which will be returns in thegetRules
- array like here:Beta Was this translation helpful? Give feedback.
All reactions