Created
October 30, 2016 05:57
-
-
Save nasirkhan/11835017b3bad4563f9ecdaf3ea27306 to your computer and use it in GitHub Desktop.
Add element to Laravel Request object
This file contains hidden or 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
| <?php | |
| /* | |
| * Add element to Laravel Request object, | |
| */ | |
| $request->merge(array('new_value' => 'New Value Text')); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment