symfony The Request Accessing a POST variable


Example

To get the contents of a form that is submitted with method="post", use the post property:

$name = $request->request->get('name');