class Illuminate / Database / Eloquent / InvalidCastException
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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