您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ImportFeaturesController.php 363B

123456789101112131415161718
  1. <?php
  2. namespace console\commands;
  3. use domain\Feature\Feature\FeatureModule;
  4. use yii\console\Controller;
  5. class ImportFeaturesController extends Controller
  6. {
  7. // ./yii import-features/index
  8. public function actionIndex()
  9. {
  10. $featureModule = FeatureModule::getInstance();
  11. $featureModule->getImporter()->importFromDefinition();
  12. }
  13. }
  14. ?>