Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Xinax
LaravelGettext
LaravelGettext
__construct
Xinax\LaravelGettext\LaravelGettext::__construct PHP Method
LaravelGettext Class Documentation
Mostrar archivo
Open project: xinax/laravel-gettext
__construct()
public
method
public
__construct
(
Xinax\LaravelGettext\Translators\TranslatorInterface
$gettext
)
$gettext
Xinax\LaravelGettext\Translators\TranslatorInterface
public function __construct(TranslatorInterface $gettext) { $this->translator = $gettext; }
LaravelGettext
__construct
getDomain
getEncoding
getLocale
getLocaleLanguage
getSelector
getSupportedLocales
getTranslator
isLocaleSupported
setDomain
setEncoding
setLocale
setTranslator
translate
translatePlural