protected static function getPageService(): PageService {
    $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
    $pageService   = $objectManager->get(PageService::class);

    return $pageService;
  }
protected static function getPageService(): PageService {
    $objectManager = GeneralUtility::makeInstance(ObjectManager::class);
    $pageService   = $objectManager->get(PageService::class);

    return $pageService;
  }
protected static function getPageService ( ) : PageService { $ objectManager = GeneralUtility :: makeInstance ( ObjectManager :: class ) ; $ pageService = $ objectManager -> get ( PageService :: class ) ; return $ pageService ; }
Gets the page service.

@return \T3v\T3vDataMapper\Service\PageService The page service
Gets the page service .