Passed
Push — master ( 5471a5...321c34 )
by Radu
01:44
created

Request   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getMethod() 0 3 1
A getArgs() 0 3 1
1
<?php
2
namespace WebServCo\Framework\Libraries;
3
4
final class Request extends \WebServCo\Framework\AbstractRequest
5
{
6
    public function __construct($settings, $server, $post = [])
7
    {
8
        parent::__construct($settings);
9
        
10
        $this->init($server, $post);
11
    }
12
    
13
    public function getMethod()
14
    {
15
        return $this->method;
16
    }
17
    
18
    public function getArgs()
19
    {
20
        return $this->args;
21
    }
22
}
23