class InvalidCastException extends RuntimeException (View source)
string | $model | The name of the affected Eloquent model. | |
string | $column | The name of the column. | |
string | $castType | The name of the cast type. |
InvalidCastException | __construct(object $model, string $column, string $castType) Create a new exception instance. |
Create a new exception instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Database/Eloquent/InvalidCastException.html