diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f99e59c..3d0b049 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,20 +6,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -36,23 +23,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -66,6 +41,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -82,16 +69,16 @@
-
+
-
+
-
-
+
+
@@ -115,7 +102,7 @@
-
+
@@ -135,10 +122,10 @@
-
+
-
+
@@ -148,7 +135,6 @@
- void
set
hasParam
csrf_token
@@ -178,6 +164,7 @@
file(
setUrl
TODO
+ input()->get
D:\Workspace\simple-php-router\src\Pecee\SimpleRouter\Route
@@ -245,11 +232,11 @@
-
+
@@ -400,7 +387,7 @@
-
+
@@ -541,7 +528,7 @@
-
+
@@ -578,7 +565,7 @@
-
+
@@ -598,8 +585,8 @@
-
-
+
+
@@ -820,16 +807,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -913,7 +890,7 @@
-
+
@@ -937,17 +914,7 @@
-
-
-
-
-
-
-
-
-
-
-
+
@@ -964,7 +931,7 @@
-
+
@@ -983,10 +950,30 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Pecee/Http/Input/InputHandler.php b/src/Pecee/Http/Input/InputHandler.php
index e4d62b4..19e2a82 100644
--- a/src/Pecee/Http/Input/InputHandler.php
+++ b/src/Pecee/Http/Input/InputHandler.php
@@ -316,4 +316,37 @@ class InputHandler
return ($filter !== null) ? array_intersect_key($output, array_flip($filter)) : $output;
}
+ /**
+ * Add GET parameter
+ *
+ * @param string $key
+ * @param InputItem $item
+ */
+ public function addGet(string $key, InputItem $item): void
+ {
+ $this->get[$key] = $item;
+ }
+
+ /**
+ * Add POST parameter
+ *
+ * @param string $key
+ * @param InputItem $item
+ */
+ public function addPost(string $key, InputItem $item): void
+ {
+ $this->post[$key] = $item;
+ }
+
+ /**
+ * Add FILE parameter
+ *
+ * @param string $key
+ * @param InputFile $item
+ */
+ public function addFile(string $key, InputFile $item): void
+ {
+ $this->file[$key] = $item;
+ }
+
}
\ No newline at end of file