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