Neos.Neos/Classes/ViewHelpers/Uri/ModuleViewHelper.php
protected function setMainRequestToUriBuilder()
    {
        $mainRequest = $this->controllerContext->getRequest()->getMainRequest();
        $this->uriBuilder->setRequest($mainRequest);
    }
protected function setMainRequestToUriBuilder()
    {
        $mainRequest = $this->controllerContext->getRequest()->getMainRequest();
        $this->uriBuilder->setRequest($mainRequest);
    }
protected function setMainRequestToUriBuilder ( ) { $ mainRequest = $ this -> controllerContext -> getRequest ( ) -> getMainRequest ( ) ; $ this -> uriBuilder -> setRequest ( $ mainRequest ) ; }
Extracted out to this method in order to be better unit-testable.

@return void
Extracted out to this method in order to be better unit - testable .