Module.php 445 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace backend\modules\admin;
  3. use Yii;
  4. /**
  5. * member module definition class
  6. */
  7. class Module extends \yii\base\Module
  8. {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. public $controllerNamespace = 'backend\modules\admin\controllers';
  13. /**
  14. * {@inheritdoc}
  15. */
  16. public function init()
  17. {
  18. parent::init();
  19. // Yii::$app->services->merchant->addId(0);
  20. // custom initialization code goes here
  21. }
  22. }