Decorator catalogue getter.

@return KTranslatorCatalogueInterface The decorator catalogue.
437705
protected function _getFallbackCatalogue()
    {
        if (!$this->_fallback_catalogue instanceof KTranslatorCatalogueInterface) {
            $this->_setFallbackCatalogue($this->getObject($this->_fallback_catalogue));
        }

        return $this->_fallback_catalogue;
    }
905189
public function getLanguage()
    {
        if ($this->_iLanguage === null) {
            $this->_iLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
        }

        return $this->_iLanguage;
    }
987961
private function getCatalogue($locale)
    {
        if (empty($this->catalogues[$locale])) {
            $this->loadCatalogue($locale, $this->dir);
        }

        return $this->catalogues[$locale];
    }
308283
public function getParser()
    {
        if (!$this->parser) {
            $this->parser = new \Phergie\Irc\Parser();
        }
        return $this->parser;
    }
1335911
protected function getCollectionManager()
    {
        return $this->getPrototype(
            $this->collectionManagerClass,
            ['umi\orm\collection\ICollectionManager']
        )
            ->createSingleInstance(
                [
                    $this->getObjectCollectionFactory(),
                    $this->collections
                ]
            );
    }
104670
public function getNestedSetManager()
    {
        if (!$this->nestedSetManager instanceof NestedSet\Manager) {
            $this->setNestedSetManager($this->getServiceLocator()->get('dlccategory_nestedset_manager'));
        }
        return $this->nestedSetManager;
    }
230271
private static function getEntryReader()
    {
        if (null === self::$entryReader) {
            self::$entryReader = new BundleEntryReader(new BufferedBundleReader(
                new JsonBundleReader(),
                self::BUFFER_SIZE
            ));
            $localeDataProvider = new LocaleDataProvider(
                self::getDataDirectory().'/'.self::LOCALE_DIR,
                self::$entryReader
            );
            self::$entryReader->setLocaleAliases($localeDataProvider->getAliases());
        }

        return self::$entryReader;
    }
855843
def get_catalogue(args):
    """"""
    catalogue = tacl.Catalogue()
    catalogue.load(args.catalogue)
    return catalogue
634164
public function setCatalogue($catalogue)
    {
        if(!($catalogue instanceof KTranslatorCatalogueInterface))
        {
            if(is_string($catalogue) && strpos($catalogue, '.') === false )
            {
                $identifier			= $this->getIdentifier()->toArray();
                $identifier['path']	= array('translator', 'catalogue');
                $identifier['name'] = $catalogue;

                $identifier = $this->getIdentifier($identifier);
            }
            else $identifier = $this->getIdentifier($catalogue);

            $catalogue = $identifier;
        }

        $this->_catalogue = $catalogue;

        return $this;
    }
573482
protected function _getDispatcher()
    {
        if (!self::$_dispatcher)
        {
            JPluginHelper::importPlugin('finder');
            self::$_dispatcher = JEventDispatcher::getInstance();
        }

        return self::$_dispatcher;
    }
1257574
public function setupLanguages(): Collection
    {
        return $this->coreModules()
            ->filter(static function (ModuleInterface $module) {
                return $module instanceof ModuleLanguageInterface && $module->isEnabledByDefault();
            })
            ->sort(static function (ModuleLanguageInterface $x, ModuleLanguageInterface $y) {
                return $x->locale()->endonymSortable() <=> $y->locale()->endonymSortable();
            });
    }
1252538
public function getTranslator()
    {
        if (!$this->_translator instanceof ComActivitiesActivityTranslatorInterface)
        {
            $translator = $this->getObject('translator');

            if (!$translator instanceof ComActivitiesActivityTranslatorInterface) {
                $translator = $translator->decorate($this->_translator);
                $this->getObject('manager')->setObject('translator', $translator);
            }

            $this->setTranslator($translator);
        }

        return $this->_translator;
    }
1024528
protected function getAnnotationReader()
    {
        if ($this->packageSupportsLegacyCore()) {
            $reader = $this->getLegacyAnnotationReader();
        } else {
            $reader = $this->getStandardAnnotationReader();
        }
        return $reader;
    }
1244477
public function getDispatcher()
    {
        if (!$this->dispatcher) {
            $this->dispatcher = new \wf\app\web\Dispatcher($this);
        }

        return $this->dispatcher;
    }
38761
public function getTransactionsManager() {
		if ($this->_transactionsManager === null) {
			if ($this->hasLocator()) {
				$locator = $this->getLocator();

				if ($locator->has(self::PHSRV_TRANSACTIONS)) {
					$this->_transactionsManager = $locator->get(self::PHSRV_TRANSACTIONS);
				}
			}
			
			if ($this->_transactionsManager === null) {
				$this->_transactionsManager = new TransactionsManager($this->getTableModelDi());
			}
			
			$this->_transactionsManager->setDbService($this->getAdapterName());
		}
		
		return $this->_transactionsManager;
	}
481586
protected function getEntityGenerator()
    {
        $entityGenerator = new EntityGenerator();
        $entityGenerator->setFieldVisibility(EntityGenerator::FIELD_VISIBLE_PROTECTED);
        $entityGenerator->setGenerateAnnotations(false);
        $entityGenerator->setGenerateStubMethods(true);
        $entityGenerator->setRegenerateEntityIfExists(false);
        $entityGenerator->setUpdateEntityIfExists(true);
        $entityGenerator->setNumSpaces(4);
        $entityGenerator->setAnnotationPrefix('ORM\\');

        if ($this->configuration['with_interface']) {
            $entityGenerator->setClassToInterface($this->configuration['namespace'] . '\\' . $this->model.'Interface');
        }

        return $entityGenerator;
    }
518492
private function getTranslatorHelper()
    {
        if (null === $this->translatorHelper) {
           $this->translatorHelper = $this->getServiceLocator()->get('MvcTranslator');
        }
      
        return $this->translatorHelper;
    }