protected function getSiteRootsByObservedPageIds($table, $uid)
    {
        $cacheId = 'RootPageResolver' . '_' . 'getSiteRootsByObservedPageIds' . '_' . $table . '_' . $uid;
        $methodResult = $this->runtimeCache->get($cacheId);
        if (!empty($methodResult)) {
            return $methodResult;
        }

        $methodResult = $this->buildSiteRootsByObservedPageIds($table, $uid);
        $this->runtimeCache->set($cacheId, $methodResult);

        return $methodResult;
    }
protected function getSiteRootsByObservedPageIds($table, $uid)
    {
        $cacheId = 'RootPageResolver' . '_' . 'getSiteRootsByObservedPageIds' . '_' . $table . '_' . $uid;
        $methodResult = $this->runtimeCache->get($cacheId);
        if (!empty($methodResult)) {
            return $methodResult;
        }

        $methodResult = $this->buildSiteRootsByObservedPageIds($table, $uid);
        $this->runtimeCache->set($cacheId, $methodResult);

        return $methodResult;
    }
protected function getSiteRootsByObservedPageIds ( $ table , $ uid ) { $ cacheId = 'RootPageResolver' . '_' . 'getSiteRootsByObservedPageIds' . '_' . $ table . '_' . $ uid ; $ methodResult = $ this -> runtimeCache -> get ( $ cacheId ) ; if ( ! empty ( $ methodResult ) ) { return $ methodResult ; } $ methodResult = $ this -> buildSiteRootsByObservedPageIds ( $ table , $ uid ) ; $ this -> runtimeCache -> set ( $ cacheId , $ methodResult ) ; return $ methodResult ; }
Retrieves an optimized array structure we the monitored pageId as key and the relevant site rootIds as value.

@param string $table
@param integer $uid
@return array
Retrieves an optimized array structure we the monitored pageId as key and the relevant site rootIds as value .