PHP Class eZ\Bundle\EzPublishCoreBundle\Fragment\DecoratedFragmentRenderer

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

Méthodes publiques

Méthode 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 méthode

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

getName() public méthode

Gets the name of the strategy.
public getName ( ) : string
Résultat string The strategy name

render() public méthode

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
Résultat Response A Response instance

setFragmentPath() public méthode

public setFragmentPath ( $path )

setSiteAccess() public méthode

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