by
187 10
0
6
2,115
1
Top 1% !
Famous
Tagged
Easy-to-find
Specified
OpenSource
Popularity: 10226th place

Published on:

Frameworksymfony
LanguagePHP

Obtain GET or POST values from CONTROLLER

Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1462090/Obtain-GET-or-POST-values-from-CONTROLLE?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
class loginController extends Controller { function loginAction(Request $Request, String $user) { dump( $Request->query->get('fooget') ); dump( $Request->get('barpost') ); dump( $Request ); die (); } }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus