FluidTYPO3\Vhs\Service\PageService::getPageRepositoryForBackendContext PHP Method

getPageRepositoryForBackendContext() protected method

protected getPageRepositoryForBackendContext ( ) : TYPO3\CMS\Frontend\Page\PageRepository
return TYPO3\CMS\Frontend\Page\PageRepository
    protected function getPageRepositoryForBackendContext()
    {
        if (static::$backendPageRepository === null) {
            static::$backendPageRepository = GeneralUtility::makeInstance(PageRepository::class);
        }
        return static::$backendPageRepository;
    }