PHP 클래스 Imbo\EventListener\VarnishHashTwo

This event listener can be used to send HashTwo headers for Varnish.
상속: implements Imbo\EventListener\ListenerInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params = null ) Class constructor
addHeader ( Imbo\EventManager\EventInterface $event ) Add the HashTwo header to the response
getSubscribedEvents ( )

메소드 상세

__construct() 공개 메소드

Class constructor
public __construct ( array $params = null )
$params array Parameters for the event listener

addHeader() 공개 메소드

Add the HashTwo header to the response
public addHeader ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )