Total Complexity | 9 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait HasEncryption |
||
12 | { |
||
13 | use HasBaseEncryption; |
||
14 | |||
15 | /** |
||
16 | * prepValueForDB gets passed $this->value |
||
17 | * |
||
18 | * @param string $value |
||
19 | * @return string |
||
20 | */ |
||
21 | public function prepValueForDB(mixed $value): array|string|null |
||
36 | } |
||
37 | |||
38 | public function setValue(mixed $value, null|array|ModelData $record = null, bool $markChanged = true): static |
||
58 |