public function __construct() { parent::__construct(self::EVENT_NAME, []); }
/** * @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); }
/** * @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); }