Bootstrap   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 17
ccs 0
cts 8
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A bootstrap() 0 8 1
1
<?php
2
3
namespace cornernote\gii;
4
5
use yii\base\Application;
6
use yii\base\BootstrapInterface;
7
8
9
/**
10
 * Class Bootstrap
11
 */
12
class Bootstrap implements BootstrapInterface
13
{
14
15
    /**
16
     * Bootstrap method to be called during application bootstrap stage.
17
     *
18
     * @param Application $app the application currently running
19
     */
20
    public function bootstrap($app)
21
    {
22
        //if ($app->hasModule('gii')) {
23
        //    if ($app instanceof \yii\console\Application) {
24
        //        $app->controllerMap['gii-batch'] = 'cornernote\gii\commands\BatchController';
25
        //    }
26
        //}
27
    }
28
}
29