Type de demande Symfony
public function myAction(Request $request)
{
if ($request->isMethod('POST')) {
}
}
cadot.eu
public function myAction(Request $request)
{
if ($request->isMethod('POST')) {
}
}