Classes/Utility/GeneralUtility.php
protected static function getSysPageObj()
    {
        if (self::$sysPageObj === null) {
            /** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */
            $objectManager = Typo3GeneralUtility::makeInstance(
                'TYPO3\\CMS\\Extbase\\Object\\ObjectManager'
            );

            /** @var \TYPO3\CMS\Frontend\Page\PageRepository $sysPageObj */
            $sysPageObj = $objectManager->get('TYPO3\\CMS\\Frontend\\Page\\PageRepository');

            self::$sysPageObj = $sysPageObj;
        }

        return self::$sysPageObj;
    }
protected static function getSysPageObj()
    {
        if (self::$sysPageObj === null) {
            /** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */
            $objectManager = Typo3GeneralUtility::makeInstance(
                'TYPO3\\CMS\\Extbase\\Object\\ObjectManager'
            );

            /** @var \TYPO3\CMS\Frontend\Page\PageRepository $sysPageObj */
            $sysPageObj = $objectManager->get('TYPO3\\CMS\\Frontend\\Page\\PageRepository');

            self::$sysPageObj = $sysPageObj;
        }

        return self::$sysPageObj;
    }
protected static function getSysPageObj ( ) { if ( self :: $ sysPageObj === null ) { /** @var \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager */ $ objectManager = Typo3GeneralUtility :: makeInstance ( 'TYPO3\\CMS\\Extbase\\Object\\ObjectManager' ) ; /** @var \TYPO3\CMS\Frontend\Page\PageRepository $sysPageObj */ $ sysPageObj = $ objectManager -> get ( 'TYPO3\\CMS\\Frontend\\Page\\PageRepository' ) ; self :: $ sysPageObj = $ sysPageObj ; } return self :: $ sysPageObj ; }
Get sys page object

@return  \TYPO3\CMS\Frontend\Page\PageRepository
Get sys page object