Module   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 29
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 5 1
1
<?php
2
3
namespace markmarco16\git;
4
5
use Yii;
6
7
class Module extends \yii\base\Module
8
{
9
    public $controllerNamespace = 'markmarco16\git\controllers';
10
11
    public $gitDir;
12
13
    public $datetimeFormat = '%Y-%m-%d %H:%M:%S';
14
15
	public $subjectMaxLength = 80;
16
	
17
	/** @var array The rules to be used in URL management. */
18
    //public $urlRules = [
19
    //    '<id:\d+>'                    => 'document/view',
20
        /*
21
        '<action:(login|logout)>'     => 'security/<action>',
22
        '<action:(register|resend)>'  => 'registration/<action>',
23
        'confirm/<id:\d+>/<code:\w+>' => 'registration/confirm',
24
        'forgot'                      => 'recovery/request',
25
        'recover/<id:\d+>/<code:\w+>' => 'recovery/reset',
26
        'settings/<action:\w+>'       => 'settings/<action>'
27
         */
28
    //];
29
30
    public function init()
31
    {
32
        parent::init();
33
        // custom initialization code goes here
34
    }
35
}
36