ConfigPanel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 15
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 3

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDetail() 0 6 1
1
<?php
2
3
namespace bedezign\yii2\audit\panels;
4
5
use bedezign\yii2\audit\components\panels\DataStoragePanelTrait;
6
use Yii;
7
8
/**
9
 * ConfigPanel
10
 * @package bedezign\yii2\audit\panels
11
 */
12
class ConfigPanel extends \yii\debug\panels\ConfigPanel
13
{
14
    use DataStoragePanelTrait;
15
16
    /**
17
     * @return string
18
     */
19
    public function getDetail()
20
    {
21
        return Yii::$app->view->render('@yii/debug/views/default/panels/config/detail', [
22
            'panel' => $this,
23
        ]);
24
    }
25
26
}