public static
ICanBoogie\I18n\Translator
|
#
get( string $id )
Return the translator for the specified locale.
Return the translator for the specified locale.
Parameters
- $id
- The locale identifier.
Returns
|
protected static
|
|
public static
|
|
protected
|
|
protected
ICanBoogie\I18n\Translator |null
|
#
lazy_get_fallback( )
Returns a translator fallback for this translator.
Returns a translator fallback for this translator.
Returns
|
protected
|
|
public
string
|
#
__invoke( string $native, array $args = array(), array $options = array() )
Translate a native string in a locale string.
Translate a native string in a locale string.
Parameters
- $native
- The native string to translate.
- $args
- $options
Returns
string The translated string, or the same native string if no translation could be
found.
|
public
|
#
offsetExists( $offset )
Implementation of
ArrayAccess::offsetExists()
|
public
|
#
offsetGet( $offset )
Implementation of
ArrayAccess::offsetGet()
|
public
|
#
offsetSet( $offset, $value )
Implementation of
ArrayAccess::offsetSet()
|
public
|
#
offsetUnset( $offset )
Implementation of
ArrayAccess::offsetUnset()
|