new FormatNumber(), 'string' => new FormatString(), default => throw new InvalidArgumentException('Unknown format given'), }; } }