Classes/Cache/Rule/ForceStaticCache.php
protected function isForceCacheUri(TypoScriptFrontendController $frontendController, string $uri): bool
    {
        $signalSlotDispatcher = GeneralUtility::makeInstance(Dispatcher::class);
        $forceStatic = (bool)$frontendController->page['tx_staticfilecache_cache_force'];
        $params = [
            'forceStatic' => $forceStatic,
            'frontendController' => $frontendController,
            'uri' => $uri,
        ];
        try {
            $params = $signalSlotDispatcher->dispatch(__CLASS__, 'isForceCacheUri', $params);
        } catch (\Exception $exception) {
            $logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
            $logger->error('Problems by calling signal: ' . $exception->getMessage() . ' / ' . $exception->getFile() . ':' . $exception->getLine());
        }

        return (bool)$params['forceStatic'];
    }
protected function isForceCacheUri(TypoScriptFrontendController $frontendController, string $uri): bool
    {
        $signalSlotDispatcher = GeneralUtility::makeInstance(Dispatcher::class);
        $forceStatic = (bool)$frontendController->page['tx_staticfilecache_cache_force'];
        $params = [
            'forceStatic' => $forceStatic,
            'frontendController' => $frontendController,
            'uri' => $uri,
        ];
        try {
            $params = $signalSlotDispatcher->dispatch(__CLASS__, 'isForceCacheUri', $params);
        } catch (\Exception $exception) {
            $logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
            $logger->error('Problems by calling signal: ' . $exception->getMessage() . ' / ' . $exception->getFile() . ':' . $exception->getLine());
        }

        return (bool)$params['forceStatic'];
    }
protected function isForceCacheUri ( TypoScriptFrontendController $ frontendController , string $ uri ) : bool { $ signalSlotDispatcher = GeneralUtility :: makeInstance ( Dispatcher :: class ) ; $ forceStatic = ( bool ) $ frontendController -> page [ 'tx_staticfilecache_cache_force' ] ; $ params = [ 'forceStatic' => $ forceStatic , 'frontendController' => $ frontendController , 'uri' => $ uri , ] ; try { $ params = $ signalSlotDispatcher -> dispatch ( __CLASS__ , 'isForceCacheUri' , $ params ) ; } catch ( \ Exception $ exception ) { $ logger = GeneralUtility :: makeInstance ( LogManager :: class ) -> getLogger ( __CLASS__ ) ; $ logger -> error ( 'Problems by calling signal: ' . $ exception -> getMessage ( ) . ' / ' . $ exception -> getFile ( ) . ':' . $ exception -> getLine ( ) ) ; } return ( bool ) $ params [ 'forceStatic' ] ; }
Is force cache URI?

@param TypoScriptFrontendController $frontendController
@param string                       $uri

@return bool
Is force cache URI?