PHP Class eZ\Bundle\EzPublishCoreBundle\EventListener\ViewControllerListener

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\Controller\ControllerResolverInterface $controllerResolver, eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilderRegistry $viewBuilderRegistry, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Psr\Log\LoggerInterface $logger )
getController ( FilterControllerEvent $event ) Configures the View for eZ View controllers.
getSubscribedEvents ( )

Method Details

__construct() public method

public __construct ( Symfony\Component\HttpKernel\Controller\ControllerResolverInterface $controllerResolver, eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilderRegistry $viewBuilderRegistry, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Psr\Log\LoggerInterface $logger )
$controllerResolver Symfony\Component\HttpKernel\Controller\ControllerResolverInterface
$viewBuilderRegistry eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilderRegistry
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$logger Psr\Log\LoggerInterface

getController() public method

Configures the View for eZ View controllers.
public getController ( FilterControllerEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterControllerEvent

getSubscribedEvents() public static method

public static getSubscribedEvents ( )