Files
2026-03-06 00:29:28 +08:00

5 lines
121 B
Plaintext

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