26 lines
599 B
YAML
26 lines
599 B
YAML
|
name: DivisibleByValidator
|
||
|
class_comment: '# * Validates that values are a multiple of the given number.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Colin O''Dell <colinodell@gmail.com>'
|
||
|
dependencies:
|
||
|
- name: UnexpectedValueException
|
||
|
type: class
|
||
|
source: Symfony\Component\Validator\Exception\UnexpectedValueException
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: compareValues
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: value1
|
||
|
- name: value2
|
||
|
comment: null
|
||
|
- name: getErrorCode
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- Symfony\Component\Validator\Exception\UnexpectedValueException
|
||
|
interfaces: []
|