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

40 lines
576 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: Rule
class_comment: null
dependencies: []
properties: []
methods:
- name: passes
visibility: public
parameters:
- name: attribute
- name: value
comment: '# * @deprecated see ValidationRule
# */
# interface Rule
# {
# /**
# * Determine if the validation rule passes.
# *
# * @param string $attribute
# * @param mixed $value
# * @return bool'
- name: message
visibility: public
parameters: []
comment: '# * Get the validation error message.
# *
# * @return string|array'
traits: []
interfaces: []