/** * Gets all the available locales * @return array */ public function getLocales() { return $this->localeManager->getLocales(); }