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.

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. ?>