StaticLocalization
Static config for localization.
Table of Contents
Methods
- disableHumanDiffOption() : void
- enableHumanDiffOption() : void
- getHumanDiffOptions() : int
- Return default humanDiff() options (merged flags as integer).
- getTranslator() : TranslatorInterface
- Initialize the default translator instance if necessary.
- setHumanDiffOptions() : void
- setTranslator() : void
- Set the default translator instance to use.
Methods
disableHumanDiffOption()
public
static disableHumanDiffOption(int $humanDiffOption) : void
Parameters
- $humanDiffOption : int
Tags
enableHumanDiffOption()
public
static enableHumanDiffOption(int $humanDiffOption) : void
Parameters
- $humanDiffOption : int
Tags
getHumanDiffOptions()
Return default humanDiff() options (merged flags as integer).
public
static getHumanDiffOptions() : int
Return values
intgetTranslator()
Initialize the default translator instance if necessary.
public
static getTranslator() : TranslatorInterface
Return values
TranslatorInterfacesetHumanDiffOptions()
public
static setHumanDiffOptions(int $humanDiffOptions) : void
Parameters
- $humanDiffOptions : int
Tags
setTranslator()
Set the default translator instance to use.
public
static setTranslator(TranslatorInterface $translator) : void
Parameters
- $translator : TranslatorInterface