protected function getSiteForRootPageId(int $pageId): array
    {
        return is_array($this->sites[$pageId]) ? $this->sites[$pageId] : [];
    }
protected function getSiteForRootPageId(int $pageId): array
    {
        return is_array($this->sites[$pageId]) ? $this->sites[$pageId] : [];
    }
protected function getSiteForRootPageId ( int $ pageId ) : array { return is_array ( $ this -> sites [ $ pageId ] ) ? $ this -> sites [ $ pageId ] : [ ] ; }
Retrieves the configured site for a rootPageId.

@param int $pageId
@return array
Retrieves the configured site for a rootPageId .