| 1 | <?php |
||
| 11 | trait HasTranslations |
||
| 12 | { |
||
| 13 | use BaseHasTranslations; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $key |
||
| 17 | * |
||
| 18 | * @return mixed |
||
| 19 | */ |
||
| 20 | public function getAttributeValue($key) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get translations. |
||
| 31 | * |
||
| 32 | * @param $key |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function getTranslations($key): array |
||
| 58 | } |
||
| 59 |