api/laravel/Contracts/Validation/InvokableRule.yaml

39 lines
597 B
YAML
Raw Normal View History

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