/** * 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; }
/** * @param ActionInterface $action * @param OptionsResolver $optionsResolver */ public function __construct(ActionInterface $action, OptionsResolver $optionsResolver) { parent::__construct($action); $this->optionsResolver = $optionsResolver; }
/** * Constructor * * @param ActionInterface $action * @param Response $response */ public function __construct(ActionInterface $action, Response $response) { parent::__construct($action); $this->response = $response; }