platform/api/laravel/Contracts/Validation/InvokableRule.yaml
2024-09-02 10:44:11 -07:00

38 lines
597 B
YAML

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: []