class LanguagePack implements ExtenderInterface, LifecycleInterface

Constants

CORE_LOCALE_FILES

Methods

__construct(string $path = '/locale')

LanguagePack constructor.

extend(Container $container, Extension $extension = null)

No description

onEnable(Container $container, Extension $extension)

No description

onDisable(Container $container, Extension $extension)

No description

Details

__construct(string $path = '/locale')

LanguagePack constructor.

Parameters

string $path Path to yaml language files.

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension

onEnable(Container $container, Extension $extension)

Parameters

Container $container
Extension $extension

onDisable(Container $container, Extension $extension)

Parameters

Container $container
Extension $extension