added clear() method to the input class
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
This commit is contained in:
@@ -287,4 +287,13 @@ class Input {
|
||||
Request::foundation()->request->replace($input);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear the input for the current request.
|
||||
* @return void
|
||||
*/
|
||||
public static function clear()
|
||||
{
|
||||
Request::foundation()->request->replace(array());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user