Last active
September 23, 2015 10:13
-
-
Save Mipme/ce77abaeeda2b16b8b56 to your computer and use it in GitHub Desktop.
Manually setting query parameters to Request in Route in Laravel 5+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Route::group(..., function() | |
{ | |
// faking some input | |
\Request::instance()->query->set('value_name', $value); | |
\Request::instance()->query->set('value_name2', $value); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment