<?php namespace antgoods; /** * antgoods module definition class */ class Module extends \yii\base\Module { /** * {@inheritdoc} */ public $controllerNamespace = 'antgoods\controllers'; /** * {@inheritdoc} */ public function init() { parent::init(); // custom initialization code goes here } }