src/Symfony/Component/HttpKernel/RenderingStrategy/ProxyAwareRenderingStrategy.php
/**
     * Generates a proxy URI for a given controller.
     *
     * @param ControllerReference  $reference A ControllerReference instance
     * @param Request              $request    A Request instance
     *
     * @return string A proxy URI
     */
Generates a proxy URI for a given controller.
@param ControllerReference  $reference A ControllerReference instance
@param Request              $request    A Request instance

@return string A proxy URI
Generates a proxy URI for a given controller . @param ControllerReference $reference A ControllerReference instance @param Request $request A Request instance @return string A proxy URI
protected function generateProxyUri(ControllerReference $reference, Request $request)
    {
        if (!isset($reference->attributes['_format'])) {
            $reference->attributes['_format'] = $request->getRequestFormat();
        }
        $reference->attributes['_controller'] = $reference->controller;
        $reference->query['_path'] = http_build_query($reference->attributes, '', '&');
        return $request->getUriForPath($this->proxyPath.'?'.http_build_query($reference->query, '', '&'));
    }
protected function generateProxyUri ( ControllerReference $ reference , Request $ request ) { if ( ! isset ( $ reference -> attributes [ '_format' ] ) ) { $ reference -> attributes [ '_format' ] = $ request -> getRequestFormat ( ) ; } $ reference -> attributes [ '_controller' ] = $ reference -> controller ; $ reference -> query [ '_path' ] = http_build_query ( $ reference -> attributes , '' , '&' ) ; return $ request -> getUriForPath ( $ this -> proxyPath . '?' . http_build_query ( $ reference -> query , '' , '&' ) ) ; }
Generates a proxy URI for a given controller.
Generates a proxy URI for a given controller .