PHP Class Sulu\Component\HttpCache\EventSubscriber\UpdateResponseSubscriber

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Datei anzeigen Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\HttpCache\HandlerUpdateResponseInterface $handler )
getSubscribedEvents ( )
onResponse ( FilterResponseEvent $event ) If the structure has been picked up from the request, updated the response using the configured handler.

Method Details

__construct() public method

public __construct ( Sulu\Component\HttpCache\HandlerUpdateResponseInterface $handler )
$handler Sulu\Component\HttpCache\HandlerUpdateResponseInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onResponse() public method

If the structure has been picked up from the request, updated the response using the configured handler.
public onResponse ( FilterResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterResponseEvent