/** * {@inheritdoc} */ protected function loadCatalogue($locale) { if (empty($locale)) { throw new InvalidArgumentException("Invalid locale."); } if (isset($this->catalogues[$locale])) { return; } $this->catalogues = $this->catalogueCompiler->compile($this, $this->catalogues, $locale); }