process() публичный Метод

public process ( Form $form, Request $request ) : boolean
$form Symfony\Component\Form\Form
$request Symfony\Component\HttpFoundation\Request
Результат boolean
Пример #1
0
 public function step4Action(Request $request)
 {
     $this->checkInstall();
     // show database form
     $form = $this->createForm(new DatabaseType(), $this->getInstallationData($request));
     $handler = new DatabaseHandler();
     if ($handler->process($form, $request)) {
         return $this->redirect($this->generateUrl('install_step5'));
     }
     return $this->render('ForkCMSInstallerBundle:Installer:step4.html.twig', array('form' => $form->createView()));
 }