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