public static function setPageService(PageService $pageService) { self::$pageService = $pageService; }