PHP Class eZ\Publish\Core\MVC\Symfony\View\Renderer\TemplateRenderer

Inheritance: implements eZ\Publish\Core\MVC\Symfony\View\Renderer
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$templateEngine Symfony\Component\Templating\EngineInterface

Public Methods

Method Description
__construct ( Symfony\Component\Templating\EngineInterface $templateEngine, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
render ( eZ\Publish\Core\MVC\Symfony\View\View $view ) : string

Method Details

__construct() public method

public __construct ( Symfony\Component\Templating\EngineInterface $templateEngine, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$templateEngine Symfony\Component\Templating\EngineInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

render() public method

public render ( eZ\Publish\Core\MVC\Symfony\View\View $view ) : string
$view eZ\Publish\Core\MVC\Symfony\View\View
return string

Property Details

$eventDispatcher protected property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $eventDispatcher
return Symfony\Component\EventDispatcher\EventDispatcherInterface

$templateEngine protected property

protected EngineInterface,Symfony\Component\Templating $templateEngine
return Symfony\Component\Templating\EngineInterface