UserFrosting API

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

Methods

__construct()

Create a new service provider instance.

public __construct( $ci : ContainerInterface ) : mixed
Parameters
$ci : ContainerInterface
Return values
mixed

Search results