class MultipleItemsFoundException extends RuntimeException (View source)

Properties

int $count

The number of items found.

Methods

__construct(int $count, int $code = 0, Throwable|null $previous = null)

Create a new exception instance.

int
getCount()

Get the number of items found.

Details

__construct(int $count, int $code = 0, Throwable|null $previous = null)

Create a new exception instance.

Parameters

int $count
int $code
Throwable|null $previous

int getCount()

Get the number of items found.

Return Value

int