How to get data from a form in symfony2
问题 I have a method : public function showCategoryAction($id, $page, Request $request){ $em = $this->getDoctrine()->getManager(); $repositoryProduct = $em->getRepository('ShopDesktopBundle:Product'); $aFilter = array(); $form = $this->get('form.factory')->createNamedBuilder('', 'form', null, array( 'csrf_protection' => false, )) ->setMethod('GET') ->add('minimPrice', 'text', array('mapped' => false, 'label' => 'De la :' , 'attr'=> array( 'placeholder'=>'Minim price', 'class'=>'form-control'))) -