Module   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
1
<?php
2
3
namespace app\modules\v1;
4
5
/**
6
 * v1 module definition class
7
 */
8
class Module extends \yii\base\Module
9
{
10
    /**
11
     * {@inheritdoc}
12
     */
13
    public $controllerNamespace = 'app\modules\v1\controllers';
14
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function init()
19
    {
20
        parent::init();
21
22
        // custom initialization code goes here
23
    }
24
}
25