public function dispatch(
        PageIndexerRequest $request,
        PageIndexerResponse $response
    ) {
        $actions = $request->getActions();

        foreach ($actions as $action) {
            $frontendHelper = $this->frontendHelperManager->resolveAction($action);
            $frontendHelper->activate();
            $frontendHelper->processRequest($request, $response);
        }
    }
public function dispatch(
        PageIndexerRequest $request,
        PageIndexerResponse $response
    ) {
        $actions = $request->getActions();

        foreach ($actions as $action) {
            $frontendHelper = $this->frontendHelperManager->resolveAction($action);
            $frontendHelper->activate();
            $frontendHelper->processRequest($request, $response);
        }
    }
public function dispatch ( PageIndexerRequest $ request , PageIndexerResponse $ response ) { $ actions = $ request -> getActions ( ) ; foreach ( $ actions as $ action ) { $ frontendHelper = $ this -> frontendHelperManager -> resolveAction ( $ action ) ; $ frontendHelper -> activate ( ) ; $ frontendHelper -> processRequest ( $ request , $ response ) ; } }
Takes the request's actions and hands them of to the according frontend
helpers.

@param PageIndexerRequest $request The request to dispatch
@param PageIndexerResponse $response The request's response
Takes the request s actions and hands them of to the according frontend helpers .