HH\Lib\Str\format_l

Meta Engineer?

This is available as Str\format_l in the www repository.

Given a valid format string (defined by SprintfFormatString), return a formatted string using $format_args

namespace HH\Lib\Str;

function format_l(
  \HH\Lib\Locale\Locale $locale,
  SprintfFormatString $format_string,
  mixed ...$format_args,
): string;

Guides

Parameters

  • \HH\Lib\Locale\Locale $locale
  • SprintfFormatString $format_string
  • mixed ...$format_args

Returns

  • string