api/laravel/Contracts/Validation/ValidationRule.yaml

29 lines
497 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: ValidationRule
class_comment: null
dependencies:
- name: Closure
type: class
source: Closure
properties: []
methods:
- name: validate
visibility: public
parameters:
- name: attribute
- name: value
- name: fail
comment: '# * Run the validation rule.
# *
# * @param string $attribute
# * @param mixed $value
# * @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
# * @return void'
traits:
- Closure
interfaces: []