/**
  * @param ActionInterface $action
  * @param OptionsResolver $optionsResolver
  */
 public function __construct(ActionInterface $action, OptionsResolver $optionsResolver)
 {
     parent::__construct($action);
     $this->optionsResolver = $optionsResolver;
 }
 /**
  * Throws an exception if ACL is set and is not granted
  *
  * @param ActionEvent $event
  *
  * @throws AccessDeniedHttpException
  */
 public function checkGranted(ActionEvent $event)
 {
     $options = $event->getAction()->getOptions();
     if (isset($options['acl']) && !$this->securityFacade->isGranted($options['acl'])) {
         throw new AccessDeniedHttpException();
     }
 }
 /**
  * Constructor
  *
  * @param ActionInterface $action
  * @param type            $template
  * @param array           $templateVars
  */
 public function __construct(ActionInterface $action, $template, array $templateVars)
 {
     parent::__construct($action);
     $this->template = $template;
     $this->templateVars = $templateVars;
 }
 /**
  * Constructor
  *
  * @param ActionInterface $action
  * @param Response        $response
  */
 public function __construct(ActionInterface $action, Response $response)
 {
     parent::__construct($action);
     $this->response = $response;
 }