protected function getRecordForIndexConfigurationIsValid($recordTable, $recordUid, $recordWhereClause)
    {
        $cache = GeneralUtility::makeInstance(TwoLevelCache::class, /** @scrutinizer ignore-type */ 'cache_runtime');
        $cacheId = md5('ConfigurationAwareRecordService' . ':' . 'getRecordIfIndexConfigurationIsValid' . ':' . $recordTable . ':' . $recordUid . ':' . $recordWhereClause);

        $row = $cache->get($cacheId);
        if (!empty($row)) {
            return $row;
        }

        $row = (array)BackendUtility::getRecord($recordTable, $recordUid, '*', $recordWhereClause);
        $cache->set($cacheId, $row);

        return $row;
    }
protected function getRecordForIndexConfigurationIsValid($recordTable, $recordUid, $recordWhereClause)
    {
        $cache = GeneralUtility::makeInstance(TwoLevelCache::class, /** @scrutinizer ignore-type */ 'cache_runtime');
        $cacheId = md5('ConfigurationAwareRecordService' . ':' . 'getRecordIfIndexConfigurationIsValid' . ':' . $recordTable . ':' . $recordUid . ':' . $recordWhereClause);

        $row = $cache->get($cacheId);
        if (!empty($row)) {
            return $row;
        }

        $row = (array)BackendUtility::getRecord($recordTable, $recordUid, '*', $recordWhereClause);
        $cache->set($cacheId, $row);

        return $row;
    }
protected function getRecordForIndexConfigurationIsValid ( $ recordTable , $ recordUid , $ recordWhereClause ) { $ cache = GeneralUtility :: makeInstance ( TwoLevelCache :: class , /** @scrutinizer ignore-type */ 'cache_runtime' ) ; $ cacheId = md5 ( 'ConfigurationAwareRecordService' . ':' . 'getRecordIfIndexConfigurationIsValid' . ':' . $ recordTable . ':' . $ recordUid . ':' . $ recordWhereClause ) ; $ row = $ cache -> get ( $ cacheId ) ; if ( ! empty ( $ row ) ) { return $ row ; } $ row = ( array ) BackendUtility :: getRecord ( $ recordTable , $ recordUid , '*' , $ recordWhereClause ) ; $ cache -> set ( $ cacheId , $ row ) ; return $ row ; }
Returns the row need by getRecordIfIndexConfigurationIsValid either directly from database
or from cache

@param string $recordTable
@param integer $recordUid
@param string $recordWhereClause

@return array
Returns the row need by getRecordIfIndexConfigurationIsValid either directly from database or from cache