Commit 3241de0c authored by Taylor Otwell's avatar Taylor Otwell

fix Input::merge method.

parent 94948cf6
...@@ -235,6 +235,17 @@ class Input { ...@@ -235,6 +235,17 @@ class Input {
* @return void * @return void
*/ */
public static function merge(array $input) public static function merge(array $input)
{
Request::foundation()->request->add($input);
}
/**
* Replace the input for the current request.
*
* @param array $input
* @return void
*/
public static function replace(array $input)
{ {
Request::foundation()->request->replace($input); Request::foundation()->request->replace($input);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment