interface
Illuminate
/
Validation
/
PresenceVerifierInterface
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
PresenceVerifierInterface
Methods
public
getCount ( $collection , $column , $value , $excludeId , $idColumn , array $extra ) : int
Count the number of objects in a collection having the given value.
Parameters
- $collection string
- $column string
- $value string
- $excludeId int|null
- $idColumn string|null
- $extra array
public
getMultiCount ( $collection , $column , array $values , array $extra ) : int
Count the number of objects in a collection with the given values.
Parameters
- $collection string
- $column string
- $values array
- $extra array