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

Request::getArgs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
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