Module.php 368 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace api\modules\v1;
  3. /**
  4. *
  5. * v1 module definition class
  6. */
  7. class Module extends \yii\base\Module
  8. {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. public $controllerNamespace = 'api\modules\v1\controllers';
  13. /**
  14. * {@inheritdoc}
  15. */
  16. public function init()
  17. {
  18. parent::init();
  19. // custom initialization code goes here
  20. }
  21. }