(array $column)
| 35 | } |
| 36 | |
| 37 | public static function valueField(array $column): string { |
| 38 | return match ($column['type']) { |
| 39 | 'text' => 'text_value', |
| 40 | 'decimal', 'boolean' => 'decimal_value', |
| 41 | 'date', 'datetime' => 'datetime_value', |
| 42 | default => throw new FlexibleStorageException('invalid_column_type', 'Unsupported logical column type.', ['column' => $column['ref']]), |
| 43 | }; |
| 44 | } |
| 45 | } |
no outgoing calls
no test coverage detected