Beta version

class PreviewModeSubscriber implements EventSubscriberInterface

Class PreviewModeSubscriber

Methods

__construct(Container $container)

PreviewModeSubscriber constructor.

static array
getSubscribedEvents()

No description

onControllerMatched(FilterControllerEvent $event)

No description

onResponse(FilterResponseEvent $event)

Enforce cache disabling.

Details

at line 51
__construct(Container $container)

PreviewModeSubscriber constructor.

Parameters

Container $container

at line 59
static array getSubscribedEvents()

Return Value

array

at line 71
onControllerMatched(FilterControllerEvent $event)

Parameters

FilterControllerEvent $event

Exceptions

PreviewNotAllowedException

at line 88
onResponse(FilterResponseEvent $event)

Enforce cache disabling.

Parameters

FilterResponseEvent $event