public function generate($target, $type = 'post') {
    
    $form = new \Pegase\Extension\Form\Objects\Form(
      $target,
      $this->sm->get('pegase.security.token_csrf_container'), 
      $type);
    
    return $form;
  }
public function generate($target, $type = 'post') {
    
    $form = new \Pegase\Extension\Form\Objects\Form(
      $target,
      $this->sm->get('pegase.security.token_csrf_container'), 
      $type);
    
    return $form;
  }
public function generate ( $ target , $ type = 'post' ) { $ form = new \ Pegase \ Extension \ Form \ Objects \ Form ( $ target , $ this -> sm -> get ( 'pegase.security.token_csrf_container' ) , $ type ) ; return $ form ; }
generate a form
generate a form