File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ Start by creating a very simple ``CompanyType`` and ``CustomerType``::
49
49
50
50
// src/Acme/HelloBundle/Form/Type/CompanyType.php
51
51
namespace Acme\HelloBundle\Form\Type;
52
+
53
+ use Symfony\Component\Form\AbstractType;
54
+ use Symfony\Component\Form\FormBuilder;
52
55
53
56
class CompanyType extends AbstractType
54
57
{
@@ -65,6 +68,9 @@ Start by creating a very simple ``CompanyType`` and ``CustomerType``::
65
68
// src/Acme/HelloBundle/Form/Type/CustomerType.php
66
69
namespace Acme\HelloBundle\Form\Type;
67
70
71
+ use Symfony\Component\Form\AbstractType;
72
+ use Symfony\Component\Form\FormBuilder;
73
+
68
74
class CustomerType extends AbstractType
69
75
{
70
76
public function buildForm(FormBuilder $builder, array $options)
@@ -81,6 +87,9 @@ location form type::
81
87
// src/Acme/HelloBundle/Form/Type/LocationType.php
82
88
namespace Acme\HelloBundle\Form\Type;
83
89
90
+ use Symfony\Component\Form\AbstractType;
91
+ use Symfony\Component\Form\FormBuilder;
92
+
84
93
class LocationType extends AbstractType
85
94
{
86
95
public function buildForm(FormBuilder $builder, array $options)
You can’t perform that action at this time.
0 commit comments