Documentation

TranslatorConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$cacheDir  : mixed
$defaultPath  : mixed
$enabled  : mixed
$fallbacks  : mixed
$formatter  : mixed
$logging  : mixed
$paths  : mixed
$providers  : mixed
$pseudoLocalization  : mixed

Methods

__construct()  : mixed
cacheDir()  : $this
defaultPath()  : $this
The default path used to load translations
enabled()  : $this
fallbacks()  : $this
formatter()  : $this
logging()  : $this
paths()  : $this
provider()  : ProviderConfig
pseudoLocalization()  : PseudoLocalizationConfig|$this
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

fallbacks()

public fallbacks(mixed $value) : $this
Parameters
$value : mixed
Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results