Passed
Push — master ( 73f345...78312e )
by Radu
01:42
created

Request   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 32
rs 10
c 0
b 0
f 0
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getArgs() 0 3 1
A getMethod() 0 3 1
A getTarget() 0 3 1
A getQuery() 0 3 1
A getSuffix() 0 3 1
1
<?php
2
namespace WebServCo\Framework\Libraries;
3
4
final class Request extends \WebServCo\Framework\AbstractRequest
5
{
6
    public function __construct($config, $server, $post = [])
7
    {
8
        parent::__construct($config);
9
        
10
        $this->init($server, $post);
11
    }
12
    
13
    public function getMethod()
14
    {
15
        return $this->method;
16
    }
17
    
18
    public function getTarget()
19
    {
20
        return $this->target;
21
    }
22
    
23
    public function getQuery()
24
    {
25
        return $this->query;
26
    }
27
    
28
    public function getArgs()
29
    {
30
        return $this->args;
31
    }
32
    
33
    public function getSuffix()
34
    {
35
        return $this->suffix;
36
    }
37
}
38