- <?php
-
- namespace console\commands;
-
- use domain\Setting\SettingModule;
- use yii\console\Controller;
-
- class SettingController extends Controller
- {
- // ./yii setting/import
- public function actionImport()
- {
- $settingModule = SettingModule::getInstance();
- $settingModule->getImporter()->importFromDefinitions();
- }
- }
-
- ?>
|