class InvalidCastException extends RuntimeException (View source)

Properties

string $model

The name of the affected Eloquent model.

string $column

The name of the column.

string $castType

The name of the cast type.

Methods

void
__construct(object $model, string $column, string $castType)

Create a new exception instance.

Details

void __construct(object $model, string $column, string $castType)

Create a new exception instance.

Parameters

object $model
string $column
string $castType

Return Value

void