api/laravel/Contracts/Validation/Factory.yaml

80 lines
1.4 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: Factory
class_comment: null
dependencies: []
properties: []
methods:
- name: make
visibility: public
parameters:
- name: data
- name: rules
- name: messages
default: '[]'
- name: attributes
default: '[]'
comment: '# * Create a new Validator instance.
# *
# * @param array $data
# * @param array $rules
# * @param array $messages
# * @param array $attributes
# * @return \Illuminate\Contracts\Validation\Validator'
- name: extend
visibility: public
parameters:
- name: rule
- name: extension
- name: message
default: 'null'
comment: '# * Register a custom validator extension.
# *
# * @param string $rule
# * @param \Closure|string $extension
# * @param string|null $message
# * @return void'
- name: extendImplicit
visibility: public
parameters:
- name: rule
- name: extension
- name: message
default: 'null'
comment: '# * Register a custom implicit validator extension.
# *
# * @param string $rule
# * @param \Closure|string $extension
# * @param string|null $message
# * @return void'
- name: replacer
visibility: public
parameters:
- name: rule
- name: replacer
comment: '# * Register a custom implicit validator message replacer.
# *
# * @param string $rule
# * @param \Closure|string $replacer
# * @return void'
traits: []
interfaces: []