blob: cc8e687260033378da8342c4ff4d5d7d69bcca8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
class Request
{
public static function uri()
{
return (string) trim($_SERVER['REQUEST_URI'], "/");
}
public static function method()
{
return $_SERVER['REQUEST_METHOD'];
}
}
|