Neos\Neos\ViewHelpers\Uri\ModuleViewHelper::setMainRequestToUriBuilder PHP Method

setMainRequestToUriBuilder() protected method

Extracted out to this method in order to be better unit-testable.
protected setMainRequestToUriBuilder ( ) : void
return void
    protected function setMainRequestToUriBuilder()
    {
        $mainRequest = $this->controllerContext->getRequest()->getMainRequest();
        $this->uriBuilder->setRequest($mainRequest);
    }