PHP Class Imbo\EventListener\VarnishHashTwo

This event listener can be used to send HashTwo headers for Varnish.
Inheritance: implements Imbo\EventListener\ListenerInterface
Afficher le fichier Open project: imbo/imbo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $params = null ) Class constructor
addHeader ( Imbo\EventManager\EventInterface $event ) Add the HashTwo header to the response
getSubscribedEvents ( )

Method Details

__construct() public méthode

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

addHeader() public méthode

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

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )