PHP 클래스 CustomEventListener, imbo

(c) Christer Edvartsen For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
상속: implements Imbo\EventListener\ListenerInterface
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
__construct ( array $params ) Class constructor
getIndex ( Imbo\EventManager\EventInterface $event ) Set a couple of headers
getSubscribedEvents ( )
getUser ( Imbo\EventManager\EventInterface $event ) Set a custom header containing the current user

메소드 상세

__construct() 공개 메소드

Class constructor
public __construct ( array $params )
$params array

getIndex() 공개 메소드

Set a couple of headers
public getIndex ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

getUser() 공개 메소드

Set a custom header containing the current user
public getUser ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event