Module   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 20
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 6 1
1
<?php
2
/**
3
 * Sitemap module
4
 *
5
 * @author Serge Larin <[email protected]>
6
 * @link http://assayer.pro/
7
 * @copyright 2015 Assayer Pro Company
8
 * @license http://opensource.org/licenses/LGPL-3.0
9
 */
10
11
12
namespace assayerpro\sitemap;
13
14
/**
15
 * Class Module for sitemap
16
 *
17
 * @author Serge Larin <[email protected]>
18
 * @package app\modules\webmaster
19
 */
20
class Module extends \yii\base\Module
21
{
22
    /**
23
     * The namespace that controller classes are in.
24
     *
25
     * @var string
26
     * @access public
27
     */
28
    public $controllerNamespace = 'assayerpro\sitemap\controllers';
29
30
    /**
31
     * @inheritdoc
32
     */
33
    public function init()
34
    {
35
        parent::init();
36
37
        // custom initialization code goes here
38
    }
39
}
40