Esempio n. 1
0
 public function onPresenter(ApplicationPresenterEvent $applicationPresenterEvent)
 {
     /** @var FirewallHandlerInterface[] $listeners */
     list($listeners) = $this->firewallMap->getListeners($this->request);
     foreach ($listeners as $listener) {
         $listener->handle($applicationPresenterEvent->getApplication(), $this->request);
     }
 }
 public function onPresenter(ApplicationPresenterEvent $applicationPresenterEvent)
 {
     $this->authorizationChecker->isGranted('access', new ComponentReflection($applicationPresenterEvent->getPresenter()));
 }