public function getRequestType() { return $this->requestType; }
public function onSiteAccessMatch(PostSiteAccessMatchEvent $event) { if ($event->getRequestType() !== HttpKernelInterface::MASTER_REQUEST) { return; } $this->resetDynamicSettings(); }