class MultipleRecordsFoundException extends RuntimeException (View source)

Properties

int $count

The number of records found.

Methods

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

Create a new exception instance.

int
getCount()

Get the number of records 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 records found.

Return Value

int

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.