Passed
Push — master ( 5d2787...c547da )
by 世昌
03:12
created

Server   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 18
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A request() 0 2 1
A response() 0 2 1
A config() 0 3 1
1
<?php
2
namespace suda\framework;
3
4
use suda\framework\server\Config;
5
6
class Server
7
{
8
    /**
9
     * SERVER配置
10
     *
11
     * @return Config
12
     */
13
    public static function config():Config
14
    {
15
        return Config::instance();
16
    }
17
    
18
    public static function request()
19
    {
20
    }
21
22
    public static function response()
23
    {
24
    }
25
}
26