LazyLoadingViolationException
class LazyLoadingViolationException extends RuntimeException (View source)
Properties
string | $model | The name of the affected Eloquent model. |
|
string | $relation | The name of the relation. |
Methods
void
__construct(object $model, string $relation)
Create a new exception instance.
Details
void
__construct(object $model, string $relation)
Create a new exception instance.