TranslatorServicesProvider extends BaseServicesProvider
Translator services provider.
Registers:
- translator : \UserFrosting\I18n\Translator
Table of Contents
$ci | ContainerInterface | |
---|---|---|
register() | Register defined services. | void |
getTranslator() | Creates the Translator instance. | Translator |
__construct() | Create a new service provider instance. | mixed |
register() | Register defined services. | void |
Properties
$ci
protected
ContainerInterface
$ci
Methods
register()
Register defined services.
public
register(
)
: void
getTranslator()
Creates the Translator instance.
protected
getTranslator(
)
: Translator
Return values
Translator__construct()
Create a new service provider instance.
public
__construct(
$ci :
ContainerInterface
)
: mixed
Parameters
- $ci : ContainerInterface
Return values
mixedregister()
Register defined services.
public
abstract register(
)
: void