api/laravel/Contracts/Validation/Rule.yaml
2024-09-26 02:03:21 -07:00

39 lines
576 B
YAML

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