@@ -65,6 +65,9 @@ |
||
| 65 | 65 | return $this->getTranslation($key, $locale, false); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param string $key |
|
| 70 | + */ |
|
| 68 | 71 | public function getTranslations($key) : array |
| 69 | 72 | { |
| 70 | 73 | $this->guardAgainstUntranslatableAttribute($key); |