eZ\Bundle\EzPublishCoreBundle\EventListener\ViewControllerListener::getSubscribedEvents PHP Method

getSubscribedEvents() public static method

public static getSubscribedEvents ( )
    public static function getSubscribedEvents()
    {
        return array(KernelEvents::CONTROLLER => array('getController', 10));
    }

Usage Example

 public function testGetSubscribedEvents()
 {
     $this->assertSame(array(KernelEvents::CONTROLLER => array('getController', 10)), $this->controllerListener->getSubscribedEvents());
 }