Symfony Request Typ

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