PHP Class eZ\Bundle\EzPublishCoreBundle\Fragment\DecoratedFragmentRenderer

Inheritance: implements Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface, implements eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessAware
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface $innerRenderer )
getName ( ) : string Gets the name of the strategy.
render ( string | Symfony\Component\HttpKernel\Controller\ControllerReference $uri, Request $request, array $options = [] ) : Response Renders a URI and returns the Response content.
setFragmentPath ( $path )
setSiteAccess ( SiteAccess $siteAccess = null )

Method Details

__construct() public method

public __construct ( Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface $innerRenderer )
$innerRenderer Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface

getName() public method

Gets the name of the strategy.
public getName ( ) : string
return string The strategy name

render() public method

Renders a URI and returns the Response content.
public render ( string | Symfony\Component\HttpKernel\Controller\ControllerReference $uri, Request $request, array $options = [] ) : Response
$uri string | Symfony\Component\HttpKernel\Controller\ControllerReference A URI as a string or a ControllerReference instance
$request Symfony\Component\HttpFoundation\Request A Request instance
$options array An array of options
return Response A Response instance

setFragmentPath() public method

public setFragmentPath ( $path )

setSiteAccess() public method

public setSiteAccess ( SiteAccess $siteAccess = null )
$siteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess