src/EventListener/RenderItemListListener.php
private function getPageDetails($pageId): ?array
    {
        if (empty($pageId)) {
            return null;
        }
        $event = new GetPageDetailsEvent($pageId);
        $this->dispatcher->dispatch(ContaoEvents::CONTROLLER_GET_PAGE_DETAILS, $event);

        return $event->getPageDetails();
    }
private function getPageDetails($pageId): ?array
    {
        if (empty($pageId)) {
            return null;
        }
        $event = new GetPageDetailsEvent($pageId);
        $this->dispatcher->dispatch(ContaoEvents::CONTROLLER_GET_PAGE_DETAILS, $event);

        return $event->getPageDetails();
    }
private function getPageDetails ( $ pageId ) : ? array { if ( empty ( $ pageId ) ) { return null ; } $ event = new GetPageDetailsEvent ( $ pageId ) ; $ this -> dispatcher -> dispatch ( ContaoEvents :: CONTROLLER_GET_PAGE_DETAILS , $ event ) ; return $ event -> getPageDetails ( ) ; }
Retrieve the details for the page with the given id.

@param string $pageId The id of the page to retrieve the details for.

@return array
Retrieve the details for the page with the given id .