protected function forward($source, array $parameters = array())
    {
        $path = $this->reverseRouter->getPath($source, $parameters);

        if ($path !== null) {
            $this->request->setUri($this->request->getUri()->withPath($path));

            $this->loader->load($this->request, $this->response, $this->context);
        } else {
            throw new RuntimeException('Could not find route for source ' . $source);
        }
    }
protected function forward($source, array $parameters = array())
    {
        $path = $this->reverseRouter->getPath($source, $parameters);

        if ($path !== null) {
            $this->request->setUri($this->request->getUri()->withPath($path));

            $this->loader->load($this->request, $this->response, $this->context);
        } else {
            throw new RuntimeException('Could not find route for source ' . $source);
        }
    }
protected function forward ( $ source , array $ parameters = array ( ) ) { $ path = $ this -> reverseRouter -> getPath ( $ source , $ parameters ) ; if ( $ path !== null ) { $ this -> request -> setUri ( $ this -> request -> getUri ( ) -> withPath ( $ path ) ) ; $ this -> loader -> load ( $ this -> request , $ this -> response , $ this -> context ) ; } else { throw new RuntimeException ( 'Could not find route for source ' . $ source ) ; } }
Forwards the request to another controller

@param string $source
@param array $parameters
@deprecated
Forwards the request to another controller