platform/api/laravel/Contracts/Validation/InvokableRule.yaml

39 lines
597 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +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: []