public function __construct()
 {
     parent::__construct(self::EVENT_NAME, []);
 }
Пример #2
0
 /**
  * @param Order $sender
  * @param OrderController $controller
  * @param null $options
  */
 public function __construct(Order $sender, OrderController $controller, $options = null)
 {
     $this->controller = $controller;
     parent::__construct($sender, $options);
 }
Пример #3
0
 /**
  * @param mixed|null $sender
  * @param OrderBidWithdrawForm $form
  * @param OrderBidsController $controller
  * @param array|null $options
  */
 public function __construct($sender, OrderBidWithdrawForm $form, OrderBidsController $controller, $options = null)
 {
     $this->controller = $controller;
     $this->form = $form;
     parent::__construct($sender, $options);
 }