interface Illuminate / Validation / PresenceVerifierInterface

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