ICanBoogie/I18n master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • I18n
      • Translator

Classes

  • FormattedString
  • Helpers
  • Locale
  • NumberFormatter
  • Translator

Functions

  • date_period
  • format_currency
  • format_date
  • format_datetime
  • format_number
  • format_size
  • format_time
  • get_cldr
  • get_language
  • get_locale
  • set_locale
  • t

Class Helpers

Patchable helpers of the ICanBoogie/I18n package.

Namespace: ICanBoogie\I18n
Located at helpers.php

Methods summary

public static mixed
# __callstatic( string $name, array $arguments )

Calls the callback of a patchable function.

Calls the callback of a patchable function.

Parameters

$name
Name of the function.
$arguments
Arguments.

Returns

mixed
public static
# patch( string $name, collable $callback )

Patches a patchable function.

Patches a patchable function.

Parameters

$name
Name of the function.
$callback
Callback.

Throws

RuntimeException
is attempt to patch an undefined function.
ICanBoogie/I18n master API documentation generated by ApiGen