Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Bny\BlogBundle\Form;
- use Symfony\Component\Form\AbstractType;
- use Symfony\Component\Form\FormBuilder;
- class PoteType extends AbstractType
- {
- public function buildForm(FormBuilder $builder, array $options)
- {
- $builder
- ->add('username')
- ->add('phrase', 'text', array('read_only' => true))
- ;
- }
- public function getName()
- {
- return 'bny_blogbundle_potetype';
- }
- }
Add Comment
Please, Sign In to add comment