PHP Class Sulu\Bundle\PreviewBundle\Preview\Renderer\PreviewRenderer

Inheritance: implements Sulu\Bundle\PreviewBundle\Preview\Renderer\PreviewRendererInterface
Mostra file Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Bundle\RouteBundle\Routing\Defaults\RouteDefaultsProviderInterface $routeDefaultsProvider, Symfony\Component\HttpFoundation\RequestStack $requestStack, Sulu\Bundle\PreviewBundle\Preview\Renderer\KernelFactoryInterface $kernelFactory, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, array $previewDefaults, string $environment )
render ( $object, $id, $webspaceKey, $locale, $partial = false )

Private Methods

Method Description
handle ( Request $request ) : Response Handles given request and returns response.

Method Details

__construct() public method

public __construct ( Sulu\Bundle\RouteBundle\Routing\Defaults\RouteDefaultsProviderInterface $routeDefaultsProvider, Symfony\Component\HttpFoundation\RequestStack $requestStack, Sulu\Bundle\PreviewBundle\Preview\Renderer\KernelFactoryInterface $kernelFactory, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, array $previewDefaults, string $environment )
$routeDefaultsProvider Sulu\Bundle\RouteBundle\Routing\Defaults\RouteDefaultsProviderInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$kernelFactory Sulu\Bundle\PreviewBundle\Preview\Renderer\KernelFactoryInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$previewDefaults array
$environment string

render() public method

public render ( $object, $id, $webspaceKey, $locale, $partial = false )