Classes/Domain/Repository/SitemapRepository.php
protected function makeClassInstance()
    {
        $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
        $this->entryStorage = $objectManager->get(ObjectStorage::class);
        $this->pageRepository = $objectManager->get(PageRepository::class);
        $this->fieldValueService = $objectManager->get(FieldValueService::class);
    }
protected function makeClassInstance()
    {
        $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
        $this->entryStorage = $objectManager->get(ObjectStorage::class);
        $this->pageRepository = $objectManager->get(PageRepository::class);
        $this->fieldValueService = $objectManager->get(FieldValueService::class);
    }
protected function makeClassInstance ( ) { $ objectManager = GeneralUtility :: makeInstance ( ObjectManager :: class ) ; $ this -> entryStorage = $ objectManager -> get ( ObjectStorage :: class ) ; $ this -> pageRepository = $ objectManager -> get ( PageRepository :: class ) ; $ this -> fieldValueService = $ objectManager -> get ( FieldValueService :: class ) ; }
Make instance of needed classes
Make instance of needed classes