Request   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 2
dl 0
loc 8
rs 10
c 2
b 1
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A response() 0 3 1
1
<?php
2
3
namespace Erykai\Request;
4
5
/**
6
 * Class receives INPUT_POST requests, php://input and query converts and returns in object
7
 */
8
class Request extends Resource
9
{
10
    /**
11
     * @return object
12
     */
13
    public function response(): object
14
    {
15
        return $this->getResponse();
16
    }
17
}