Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
59 | public function validateAttribute($model, $attribute): void |
||
60 | { |
||
61 | // Set the attribute to be the same value as the source |
||
62 | $srcValue = $this->source; |
||
63 | $value = $model->$srcValue; |
||
64 | $model->$attribute = $value; |
||
65 | // If we're supposed to parse it, do so |
||
66 | if ($this->parse) { |
||
67 | } |
||
70 |