$translation->get()
Returns a single translation string by key
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
$default | string |null |
null |
Return type
string
|null
Returns a single translation string by key
Name | Type | Default |
---|---|---|
$key * | string |
– |
$default | string |null |
null |
string
|null