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

getSubscribedEvents() public static method

public static getSubscribedEvents ( )
    public static function getSubscribedEvents()
    {
        return array(MVCEvents::SITEACCESS => array('onSiteAccessMatch', 255));
    }

Usage Example

 public function testGetSubscribedEvents()
 {
     $this->assertSame(array(MVCEvents::SITEACCESS => array('onSiteAccessMatch', 255)), $this->listener->getSubscribedEvents());
 }