/** * Initializes the available locales * @return null */ private function initLocales() { if (!isset($this->locales)) { $this->locales = $this->io->getLocales(); } }