Test Failed
Push — master ( 2b585c...be18eb )
by 世昌
02:21
created

LoadEnvironment   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
namespace suda\welcome\event;
3
4
use suda\application\Application;
5
use suda\framework\Config;
6
7
class LoadEnvironment
8
{
9
    public static function handle(Config $config, Application $app)
10
    {
11
        $config->set('role', 'admin');
12
        $app->debug()->info('load environment');
13
    }
14
}
15