class
Illuminate
/
Database
/
MultipleRecordsFoundException
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
MultipleRecordsFoundException
Extends
Properties
public
$count int
The number of records found.
Default: null
Methods
public
__construct ( $count , $code , $previous ) : void
Create a new exception instance.
Parameters
- $count int
- $code int
- $previous Throwable |null
public
getCount ( ) : int
Get the number of records found.