clock-work

This commit is contained in:
noor
2023-04-24 17:39:09 +05:30
committed by RafficMohammed
parent cf4bec91a6
commit 1eea7ff15e
178 changed files with 13169 additions and 123 deletions

View File

@@ -0,0 +1,20 @@
<?php namespace Clockwork\Request;
// Incoming HTTP request
class IncomingRequest
{
// Method
public $method;
// URI
public $uri;
// GET and POST data
public $input = [];
// Cookies
public $cookies = [];
public function __construct(array $data = [])
{
foreach ($data as $key => $val) $this->$key = $val;
}
}