Files
2026-03-09 17:35:53 +08:00

5 lines
121 B
Plaintext

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