Skip to content

Instantly share code, notes, and snippets.

@johnwards
Created February 8, 2011 16:00
Show Gist options
  • Save johnwards/816641 to your computer and use it in GitHub Desktop.
Save johnwards/816641 to your computer and use it in GitHub Desktop.
<?php
namespace WhiteOctober\FormBuilderBundle\Form;
use WhiteOctober\FormBuilderBundle\Document\FormBuilder;
use Symfony\Component\Form\Form;
use Symfony\Component\Form\TextField;
use Symfony\Component\Form\IntegerField;
class FormBuilderForm extends Form
{
public function configure()
{
$this->setDataClass("FormBuilder");
$this->add('name');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment