public function handle(ComponentContext $componentContext)
    {
        $componentContext = $this->prepareActionRequest($componentContext);
        $actionRequest = $componentContext->getParameter(DispatchComponent::class, 'actionRequest');
        $this->setDefaultControllerAndActionNameIfNoneSpecified($actionRequest);
        $actionResponse = $this->prepareActionResponse($componentContext->getHttpResponse());
        $this->dispatcher->dispatch($actionRequest, $actionResponse);
        // TODO: This should change in next major when the action response is no longer a HTTP response for backward compatibility.
        $componentContext->replaceHttpResponse($actionResponse);
    }
public function handle(ComponentContext $componentContext)
    {
        $componentContext = $this->prepareActionRequest($componentContext);
        $actionRequest = $componentContext->getParameter(DispatchComponent::class, 'actionRequest');
        $this->setDefaultControllerAndActionNameIfNoneSpecified($actionRequest);
        $actionResponse = $this->prepareActionResponse($componentContext->getHttpResponse());
        $this->dispatcher->dispatch($actionRequest, $actionResponse);
        // TODO: This should change in next major when the action response is no longer a HTTP response for backward compatibility.
        $componentContext->replaceHttpResponse($actionResponse);
    }
public function handle ( ComponentContext $ componentContext ) { $ componentContext = $ this -> prepareActionRequest ( $ componentContext ) ; $ actionRequest = $ componentContext -> getParameter ( DispatchComponent :: class , 'actionRequest' ) ; $ this -> setDefaultControllerAndActionNameIfNoneSpecified ( $ actionRequest ) ; $ actionResponse = $ this -> prepareActionResponse ( $ componentContext -> getHttpResponse ( ) ) ; $ this -> dispatcher -> dispatch ( $ actionRequest , $ actionResponse ) ; // TODO: This should change in next major when the action response is no longer a HTTP response for backward compatibility. $ componentContext -> replaceHttpResponse ( $ actionResponse ) ; }
Create an action request from stored route match values and dispatch to that

@param ComponentContext $componentContext
@return void
Create an action request from stored route match values and dispatch to that