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

57 lines
1 KiB
YAML

name: PresenceVerifierInterface
class_comment: null
dependencies: []
properties: []
methods:
- name: getCount
visibility: public
parameters:
- name: collection
- name: column
- name: value
- name: excludeId
default: 'null'
- name: idColumn
default: 'null'
- name: extra
default: '[]'
comment: '# * Count the number of objects in a collection having the given value.
# *
# * @param string $collection
# * @param string $column
# * @param string $value
# * @param int|null $excludeId
# * @param string|null $idColumn
# * @param array $extra
# * @return int'
- name: getMultiCount
visibility: public
parameters:
- name: collection
- name: column
- name: values
- name: extra
default: '[]'
comment: '# * Count the number of objects in a collection with the given values.
# *
# * @param string $collection
# * @param string $column
# * @param array $values
# * @param array $extra
# * @return int'
traits: []
interfaces: []