HH\Lib\Str\lowercase_l

Facebook Engineer?

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

Returns the string with all alphabetic characters converted to lowercase

namespace HH\Lib\Str;

function lowercase_l(
  \HH\Lib\Locale\Locale $locale,
  string $string,
): string;

Locale-specific capitalization rules will be respected, e.g. I -> i vs I -> ı

Parameters

  • \HH\Lib\Locale\Locale $locale
  • string $string

Returns

  • string