39 lines
597 B
YAML
39 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: []
|