public function resolveAction($action)
    {
        if (!array_key_exists($action, self::$frontendHelperRegistry)) {
            return null;
        }

        $frontendHelper = GeneralUtility::makeInstance(self::$frontendHelperRegistry[$action]);
        if (!$frontendHelper instanceof FrontendHelper) {
            $message = self::$frontendHelperRegistry[$action] . ' is not an implementation of ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper';
            throw new \RuntimeException($message, 1292497896);
        }

        $this->activatedFrontendHelpers[$action] = $frontendHelper;
        return $frontendHelper;
    }
public function resolveAction($action)
    {
        if (!array_key_exists($action, self::$frontendHelperRegistry)) {
            return null;
        }

        $frontendHelper = GeneralUtility::makeInstance(self::$frontendHelperRegistry[$action]);
        if (!$frontendHelper instanceof FrontendHelper) {
            $message = self::$frontendHelperRegistry[$action] . ' is not an implementation of ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper';
            throw new \RuntimeException($message, 1292497896);
        }

        $this->activatedFrontendHelpers[$action] = $frontendHelper;
        return $frontendHelper;
    }
public function resolveAction ( $ action ) { if ( ! array_key_exists ( $ action , self :: $ frontendHelperRegistry ) ) { return null ; } $ frontendHelper = GeneralUtility :: makeInstance ( self :: $ frontendHelperRegistry [ $ action ] ) ; if ( ! $ frontendHelper instanceof FrontendHelper ) { $ message = self :: $ frontendHelperRegistry [ $ action ] . ' is not an implementation of ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper' ; throw new \ RuntimeException ( $ message , 1292497896 ) ; } $ this -> activatedFrontendHelpers [ $ action ] = $ frontendHelper ; return $ frontendHelper ; }
Tries to find a frontend helper for a given action. If found, creates an
instance of the helper.

@param string $action The action to get a frontend helper for.
@return FrontendHelper Index Queue page indexer frontend helper
@throws \RuntimeException if the class registered for an action is not an implementation of ApacheSolrForTypo3\Solr\IndexQueue\FrontendHelper\FrontendHelper
Tries to find a frontend helper for a given action . If found creates an instance of the helper .