| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class Request extends \WebServCo\Framework\AbstractRequest implements |
||
| 8 | \WebServCo\Framework\Interfaces\RequestInterface |
||
| 9 | { |
||
| 10 | use \WebServCo\Framework\Traits\RequestProcessTrait; |
||
| 11 | use \WebServCo\Framework\Traits\RequestServerTrait; |
||
| 12 | use \WebServCo\Framework\Traits\RequestUrlTrait; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param array<string,string|array<mixed>> $settings |
||
| 16 | * @param array<string,mixed> $server |
||
| 17 | * @param array<string,string> $post |
||
| 18 | */ |
||
| 19 | public function __construct(array $settings, array $server, array $post = []) |
||
| 20 | { |
||
| 21 | parent::__construct($settings); |
||
| 22 | |||
| 23 | $this->init($server, $post); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return array<int,string> |
||
| 28 | */ |
||
| 29 | public function getArgs(): array |
||
| 30 | { |
||
| 31 | return $this->args; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getBody(): string |
||
| 35 | { |
||
| 36 | return $this->body; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getMethod(): string |
||
| 42 | } |
||
| 43 | } |
||
| 44 |