class Illuminate / Database / Eloquent / InvalidCastException
You are viewing an older version of the documentation. For the latest, please visit master documentation.

InvalidCastException

Extends

Properties

public

$model string

The name of the affected Eloquent model.

Default: null
public

$column string

The name of the column.

Default: null
public

$castType string

The name of the cast type.

Default: null

Methods

public

__construct ( $model , $column , $castType ) : static

Create a new exception instance.

Parameters

  • $model object
  • $column string
  • $castType string