PHP 클래스 eZ\Bundle\EzPublishCoreBundle\EventListener\SessionSetDynamicNameListener

Allows to set a dynamic session name based on the siteaccess name.
상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, Symfony\Component\HttpFoundation\Session\SessionInterface $session = null, Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface $sessionStorage = null )
getSubscribedEvents ( )
onSiteAccessMatch ( PostSiteAccessMatchEvent $event )

비공개 메소드들

메소드 설명
getSessionName ( string $sessionName, SiteAccess $siteAccess ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, Symfony\Component\HttpFoundation\Session\SessionInterface $session = null, Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface $sessionStorage = null )
$configResolver eZ\Publish\Core\MVC\ConfigResolverInterface
$session Symfony\Component\HttpFoundation\Session\SessionInterface
$sessionStorage Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

onSiteAccessMatch() 공개 메소드

public onSiteAccessMatch ( PostSiteAccessMatchEvent $event )
$event eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent