class ClassMorphViolationException extends RuntimeException (View source)

Properties

string $model

The name of the affected Eloquent model.

Methods

__construct(object|string $model)

Create a new exception instance.

Details

__construct(object|string $model)

Create a new exception instance.

Parameters

object|string $model