/**
  * Registers the core application components.
  * @see setComponents
  */
 public function registerCoreComponents()
 {
     parent::registerCoreComponents();
     $this->setComponents(['request' => ['class' => 'yii\\console\\Request'], 'response' => ['class' => 'yii\\console\\Response']]);
 }
 /**
  * Registers the core application components.
  * @see setComponents
  */
 public function registerCoreComponents()
 {
     parent::registerCoreComponents();
     $this->setComponents(['request' => ['class' => 'yii\\web\\Request'], 'response' => ['class' => 'yii\\web\\Response'], 'session' => ['class' => 'yii\\web\\Session'], 'user' => ['class' => 'yii\\web\\User'], 'assetManager' => ['class' => 'yii\\web\\AssetManager']]);
 }