protected static function isSerializedResultFromRegisteredHook(array $indexingConfiguration, $solrFieldName)
    {
        if (!is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['detectSerializedValue'])) {
            return false;
        }

        foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['detectSerializedValue'] as $classReference) {
            $serializedValueDetector = GeneralUtility::makeInstance($classReference);
            if (!$serializedValueDetector instanceof SerializedValueDetector) {
                $message = get_class($serializedValueDetector) . ' must implement interface ' . SerializedValueDetector::class;
                throw new \UnexpectedValueException($message, 1404471741);
            }

            $isSerialized = (boolean)$serializedValueDetector->isSerializedValue($indexingConfiguration, $solrFieldName);
            if ($isSerialized) {
                return true;
            }
        }
    }
protected static function isSerializedResultFromRegisteredHook(array $indexingConfiguration, $solrFieldName)
    {
        if (!is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['detectSerializedValue'])) {
            return false;
        }

        foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['detectSerializedValue'] as $classReference) {
            $serializedValueDetector = GeneralUtility::makeInstance($classReference);
            if (!$serializedValueDetector instanceof SerializedValueDetector) {
                $message = get_class($serializedValueDetector) . ' must implement interface ' . SerializedValueDetector::class;
                throw new \UnexpectedValueException($message, 1404471741);
            }

            $isSerialized = (boolean)$serializedValueDetector->isSerializedValue($indexingConfiguration, $solrFieldName);
            if ($isSerialized) {
                return true;
            }
        }
    }
protected static function isSerializedResultFromRegisteredHook ( array $ indexingConfiguration , $ solrFieldName ) { if ( ! is_array ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'solr' ] [ 'detectSerializedValue' ] ) ) { return false ; } foreach ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'solr' ] [ 'detectSerializedValue' ] as $ classReference ) { $ serializedValueDetector = GeneralUtility :: makeInstance ( $ classReference ) ; if ( ! $ serializedValueDetector instanceof SerializedValueDetector ) { $ message = get_class ( $ serializedValueDetector ) . ' must implement interface ' . SerializedValueDetector :: class ; throw new \ UnexpectedValueException ( $ message , 1404471741 ) ; } $ isSerialized = ( boolean ) $ serializedValueDetector -> isSerializedValue ( $ indexingConfiguration , $ solrFieldName ) ; if ( $ isSerialized ) { return true ; } } }
Checks registered hooks if a SerializedValueDetector detects a serialized response.

@param array $indexingConfiguration
@param string $solrFieldName
@return bool
Checks registered hooks if a SerializedValueDetector detects a serialized response .