Skip to content

Instantly share code, notes, and snippets.

@spcmky
spcmky / ExampleType.php
Last active Apr 10, 2019
Symfony2 Form Type Fieldset Example
View ExampleType.php
<?php
// src/Acme/DemoBundle/Form/ExampleType.php
namespace Acme\DemoBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Acme\DemoBundle\Form\Type\FieldsetType;
class ExampleType extends AbstractType {