aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Request.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
committerThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
commit2bdcd9d9283b44e7c35822aa1317013928006fd8 (patch)
treeca2bf097e4dfcfdabba36a5cb2643560ab03b926 /bootstrap/Request.php
downloadthedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.gz
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.bz2
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.zip
Initialize Repo: First Commit
Diffstat (limited to 'bootstrap/Request.php')
-rw-r--r--bootstrap/Request.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap/Request.php b/bootstrap/Request.php
new file mode 100644
index 0000000..cc8e687
--- /dev/null
+++ b/bootstrap/Request.php
@@ -0,0 +1,14 @@
+<?php
+
+class Request
+{
+ public static function uri()
+ {
+ return (string) trim($_SERVER['REQUEST_URI'], "/");
+ }
+
+ public static function method()
+ {
+ return $_SERVER['REQUEST_METHOD'];
+ }
+}