| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 5 | trait Encryptable |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Set the value attribute |
||
| 9 | * |
||
| 10 | * @param string $value |
||
| 11 | * @return void |
||
| 12 | */ |
||
| 13 | public function setValueAttribute(string $value) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get the value attribute. |
||
| 23 | * |
||
| 24 | * @param string|null $value |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getValueAttribute($value) |
||
| 32 |