79 lines
1.4 KiB
YAML
79 lines
1.4 KiB
YAML
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: []
|