Created
February 27, 2013 11:36
-
-
Save whitewhidow/5047302 to your computer and use it in GitHub Desktop.
get GET & POST parameters symfony2
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
use Symfony\Component\HttpFoundation\Request; | |
public function someAction(Request $request) | |
{ | |
$postData = $request->request->all(); | |
$post_value = $postData['FIELDNAME']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment