2
I’m having my first contacts with the Silex framework.
I have the following script to capture a parameter GET
:
$app->get('/', function (Request $request, Silex\Application $app) {
return sprintf('Meu nome é %s', $request->query->get('nome'));
});
When using get
i can capture a specific parameter of the url. But how do I get all the parameters? Is there any way to do this?
Take a look if this helps http://stackoverflow.com/questions/10455336/how-do-i-obtain-all-the-get-parameters-on-silex
– Augusto