Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $builder->add('title')
- public function getName()
- {
- return 'progress';
- }
- $progress = new Progress();
- $form = $this->createForm(new ProgressType(), $progress);
- $form->handleRequest($request);//here comes "title"
- public function getName()
- {
- return 'progress';
- }
- $form = $formFactory->createNamed(null, 'progress', $progress);
- $form = $formFactory->createNamed(null, 'progress', $progress, array('method'=>'PUT'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement