class
Illuminate
/
Database
/
LazyLoadingViolationException
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
LazyLoadingViolationException
Extends
Properties
public
$model string
The name of the affected Eloquent model.
Default: null
public
$relation string
The name of the relation.
Default: null
Methods
public
__construct ( $model , $relation ) : static
Create a new exception instance.
Parameters
- $model object
- $relation string