PHP Класс Imbo\EventListener\VarnishHashTwo

This event listener can be used to send HashTwo headers for Varnish.
Наследование: implements Imbo\EventListener\ListenerInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 ( )