class MultipleItemsFoundException extends RuntimeException (View source)

Properties

int $count

The number of items found.

Methods

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

Create a new exception instance.

int
getCount()

Get the number of items found.

Details

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

Create a new exception instance.

Parameters

int $count
int $code
Throwable|null $previous

Return Value

void

int getCount()

Get the number of items found.

Return Value

int