Documentation

TranslatorsTrait

Translators Trait

Table of Contents

Properties

$translators  : array<string|int, mixed>

Methods

getTranslator()  : Translator
gets translator

Properties

$translators

public static array<string|int, mixed> $translators = []

translators

Methods

getTranslator()

gets translator

public getTranslator([string|null $locale_code = null ]) : Translator
Parameters
$locale_code : string|null = null
Tags
throws
DependencyException
throws
NotFoundException
Return values
Translator

        
On this page

Search results