Passed
Push — master ( ffa7be...fb5c02 )
by Radu
01:19
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 implements
5
    \WebServCo\Framework\Interfaces\RequestInterface
6
{
7
    use \WebServCo\Framework\Traits\RequestProcessTrait;
8
    use \WebServCo\Framework\Traits\RequestServerTrait;
9
    use \WebServCo\Framework\Traits\RequestUrlTrait;
10
11
    public function __construct($settings, $server, $post = [])
12
    {
13
        parent::__construct($settings);
14
15
        $this->init($server, $post);
16
    }
17
18
    public function getArgs()
19
    {
20
        return $this->args;
21
    }
22
23
    public function getBody()
24
    {
25
        return $this->body;
26
    }
27
28
    public function getMethod()
29
    {
30
        return $this->method;
31
    }
32
}
33