| Total Complexity | 1 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class InvalidCastException extends RuntimeException |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The name of the affected Eloquent model. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $model; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The name of the column. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | public $column; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The name of the cast type. |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | public $castType; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Create a new exception instance. |
||
| 36 | * |
||
| 37 | * @param object $model |
||
| 38 | * @param string $column |
||
| 39 | * @param string $castType |
||
| 40 | * @return static |
||
| 41 | */ |
||
| 42 | public function __construct($model, $column, $castType) |
||
| 53 |