Class

eZ\Bundle\EzPublishCoreBundle\EventListener\ViewControllerListener

class ViewControllerListener implements EventSubscriberInterface

Methods

__construct(ControllerResolverInterface $controllerResolver, ViewBuilderRegistry $viewBuilderRegistry, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger)

static  getSubscribedEvents()

getController(FilterControllerEvent $event)

Configures the View for eZ View controllers.

Details

at line 36
public __construct(ControllerResolverInterface $controllerResolver, ViewBuilderRegistry $viewBuilderRegistry, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger)

Parameters

ControllerResolverInterface $controllerResolver
ViewBuilderRegistry $viewBuilderRegistry
EventDispatcherInterface $eventDispatcher
LoggerInterface $logger

at line 48
static public getSubscribedEvents()

at line 60
public getController(FilterControllerEvent $event)

Configures the View for eZ View controllers.

Parameters

FilterControllerEvent $event

Exceptions

AccessDeniedException