@@ -84,6 +84,9 @@ |
||
| 84 | 84 | return $this->getTranslation($key, $locale, false); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param string $key |
|
| 89 | + */ |
|
| 87 | 90 | public function getTranslations($key = null) : array |
| 88 | 91 | { |
| 89 | 92 | if ($key !== null) { |