Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     if (Yii::$app instanceof \yii\console\Application) {
         $this->controllerMap = [];
     }
 }
Beispiel #2
0
 public function init()
 {
     parent::init();
     $this->exportDir = Yii::getAlias($this->exportDirPath);
     $this->importDir = Yii::getAlias($this->importDirPath);
 }