Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
42 | public function __construct($model, $column, $castType) |
||
43 | { |
||
44 | $class = get_class($model); |
||
45 | |||
46 | parent::__construct("Call to undefined cast [{$castType}] on column [{$column}] in model [{$class}]."); |
||
47 | |||
48 | $this->model = $class; |
||
49 | $this->column = $column; |
||
50 | $this->castType = $castType; |
||
51 | } |
||
53 |