| @@ 41-50 (lines=10) @@ | ||
| 38 | */ |
|
| 39 | private $autoBus; |
|
| 40 | ||
| 41 | public function __construct( |
|
| 42 | string $id, |
|
| 43 | Module $module, |
|
| 44 | ApiCommandsBusInterface $autoBus, |
|
| 45 | array $config = [] |
|
| 46 | ) { |
|
| 47 | parent::__construct($id, $module, $config); |
|
| 48 | $this->autoBus = $autoBus; |
|
| 49 | $this->response = yii::getApp()->getResponse(); |
|
| 50 | } |
|
| 51 | ||
| 52 | public function behaviors() |
|
| 53 | { |
|
| @@ 22-30 (lines=9) @@ | ||
| 19 | */ |
|
| 20 | private $aura; |
|
| 21 | ||
| 22 | public function __construct( |
|
| 23 | $id, Module $module, |
|
| 24 | RouterContainer $aura, |
|
| 25 | $config = [] |
|
| 26 | ) { |
|
| 27 | parent::__construct($id, $module, $config); |
|
| 28 | $this->aura = $aura; |
|
| 29 | $this->response = yii::getApp()->getResponse(); |
|
| 30 | } |
|
| 31 | ||
| 32 | public function actionRoute() |
|
| 33 | { |
|