PresenceVerifierInterface
interface PresenceVerifierInterface (View source)
Methods
int | getCount(string $collection, string $column, string $value, int|null $excludeId = null, string|null $idColumn = null, array $extra = []) Count the number of objects in a collection having the given value. | |
int | getMultiCount(string $collection, string $column, array $values, array $extra = []) Count the number of objects in a collection with the given values. |
Details
int getCount(string $collection, string $column, string $value, int|null $excludeId = null, string|null $idColumn = null, array $extra = [])
Count the number of objects in a collection having the given value.
int getMultiCount(string $collection, string $column, array $values, array $extra = [])
Count the number of objects in a collection with the given values.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Validation/PresenceVerifierInterface.html