Files
2026-03-18 15:54:43 +08:00

5 lines
121 B
Plaintext

public function get{%field%}Attr($value): array
{
return !$value ? [] : json_decode($value, true);
}