InvalidCastException
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.