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

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

Create a new exception instance.

Details

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

Create a new exception instance.

Parameters

object $model
string $column
string $castType

Return Value

InvalidCastException