Completed
Push — master ( 89be15...80fd60 )
by Igor
11:15
created

Module   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A behaviors() 0 14 1
1
<?php
2
3
namespace app\modules\profile;
4
5
class Module extends \yii\base\Module
6
{
7
    /**
8
     * @inheritdoc
9
     */
10
    public function behaviors()
11
    {
12
        return [
13
            'access' => [
14
                'class' => 'yii\filters\AccessControl',
15
                'rules' => [
16
                    [
17
                        'allow' => true,
18
                        'roles' => ['@'],
19
                    ],
20
                ],
21
            ],
22
        ];
23
    }
24
}
25