protected function getExtensionConfiguration()
    {
        $cacheInstance = CacheService::get()->getCacheInstance();
        $hash = $this->getContextHash();

        if ($cacheInstance->has($hash)) {
            $result = $cacheInstance->get($hash);
        } else {
            $result = $this->getFullConfiguration();
            $result = (ArrayUtility::isValidPath($result, self::EXTENSION_CONFIGURATION_PATH, '.'))
                ? ArrayUtility::getValueByPath($result, self::EXTENSION_CONFIGURATION_PATH, '.')
                : [];

            if (ArrayUtility::isValidPath($result, 'settings.typoScriptIncluded', '.')) {
                $cacheInstance->set($hash, $result);
            }
        }

        return $result;
    }
protected function getExtensionConfiguration()
    {
        $cacheInstance = CacheService::get()->getCacheInstance();
        $hash = $this->getContextHash();

        if ($cacheInstance->has($hash)) {
            $result = $cacheInstance->get($hash);
        } else {
            $result = $this->getFullConfiguration();
            $result = (ArrayUtility::isValidPath($result, self::EXTENSION_CONFIGURATION_PATH, '.'))
                ? ArrayUtility::getValueByPath($result, self::EXTENSION_CONFIGURATION_PATH, '.')
                : [];

            if (ArrayUtility::isValidPath($result, 'settings.typoScriptIncluded', '.')) {
                $cacheInstance->set($hash, $result);
            }
        }

        return $result;
    }
protected function getExtensionConfiguration ( ) { $ cacheInstance = CacheService :: get ( ) -> getCacheInstance ( ) ; $ hash = $ this -> getContextHash ( ) ; if ( $ cacheInstance -> has ( $ hash ) ) { $ result = $ cacheInstance -> get ( $ hash ) ; } else { $ result = $ this -> getFullConfiguration ( ) ; $ result = ( ArrayUtility :: isValidPath ( $ result , self :: EXTENSION_CONFIGURATION_PATH , '.' ) ) ? ArrayUtility :: getValueByPath ( $ result , self :: EXTENSION_CONFIGURATION_PATH , '.' ) : [ ] ; if ( ArrayUtility :: isValidPath ( $ result , 'settings.typoScriptIncluded' , '.' ) ) { $ cacheInstance -> set ( $ hash , $ result ) ; } } return $ result ; }
This function will fetch the extension TypoScript configuration, and
store it in cache for further usage.

The configuration array is not stored in cache if the configuration
property `settings.typoScriptIncluded` is not found.

@return array
This function will fetch the extension TypoScript configuration and store it in cache for further usage .