t()
Returns translate string for key from translation file
t(string|array $key, string $fallback = null): mixed
Parameters
Name | Type | Default | Description |
---|---|---|---|
$key |
string |array |
– | |
$fallback |
string |
null |
Return type
mixed