Overtrue\Validation\PresenceVerifierInterface::getCount PHP Method

getCount() public method

Count the number of objects in a collection having the given value.
public getCount ( string $collection, string $column, string $value, integer $excludeId = null, string $idColumn = null, array $extra = [] ) : integer
$collection string
$column string
$value string
$excludeId integer
$idColumn string
$extra array
return integer
    public function getCount($collection, $column, $value, $excludeId = null, $idColumn = null, array $extra = []);
PresenceVerifierInterface