|
@@ -145,10 +145,10 @@ Sometimes you may wish to merge or replace the current input. Here's how:
|
|
|
|
|
|
#### Replacing the entire input array with new data:
|
|
#### Replacing the entire input array with new data:
|
|
|
|
|
|
- Input::merge(array('doctor' => 'Bones', 'captain' => 'Kirk'));
|
|
|
|
|
|
+ Input::replace(array('doctor' => 'Bones', 'captain' => 'Kirk'));
|
|
|
|
|
|
## Clearing Input
|
|
## Clearing Input
|
|
|
|
|
|
-To clear all input data for the current request, using the `clear()` method, for example:
|
|
|
|
|
|
+To clear all input data for the current request, you may use the `clear` method:
|
|
|
|
|
|
Input::clear();
|
|
Input::clear();
|