You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
343B

  1. <?php
  2. namespace console\commands;
  3. use domain\Setting\SettingModule;
  4. use yii\console\Controller;
  5. class SettingController extends Controller
  6. {
  7. // ./yii setting/import
  8. public function actionImport()
  9. {
  10. $settingModule = SettingModule::getInstance();
  11. $settingModule->getImporter()->importFromDefinitions();
  12. }
  13. }
  14. ?>