SimpleRequest.php 558 字节
<?php

namespace Jiaoyin;

class SimpleRequest
{
    public string $path;
    public string $uri;
    public array  $get;
    public array  $post;
    public string $method;
    public array  $header;
    public array  $cookie;

    public function __construct($data)
    {
        $this->path   = $data['path'];
        $this->uri    = $data['uri'];
        $this->get    = $data['get'];
        $this->post   = $data['post'];
        $this->method = $data['method'];
        $this->header = $data['header'];
        $this->cookie = $data['cookie'];
    }
}