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