I'm having my first contacts with the Silex framework.
I have the following script to be able to capture a GET
parameter:
$app->get('/', function (Request $request, Silex\Application $app) {
return sprintf('Meu nome é %s', $request->query->get('nome'));
});
Using get
I can capture a specific url parameter. But how do I get all parameters? Is there any way to do this?