Skip to content

Commit 347688a

Browse files
committed
[symfony#2216] Backporting some missing use statements
1 parent 4f16967 commit 347688a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

cookbook/form/use_virtuals_forms.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Start by creating a very simple ``CompanyType`` and ``CustomerType``::
4949

5050
// src/Acme/HelloBundle/Form/Type/CompanyType.php
5151
namespace Acme\HelloBundle\Form\Type;
52+
53+
use Symfony\Component\Form\AbstractType;
54+
use Symfony\Component\Form\FormBuilder;
5255

5356
class CompanyType extends AbstractType
5457
{
@@ -65,6 +68,9 @@ Start by creating a very simple ``CompanyType`` and ``CustomerType``::
6568
// src/Acme/HelloBundle/Form/Type/CustomerType.php
6669
namespace Acme\HelloBundle\Form\Type;
6770
71+
use Symfony\Component\Form\AbstractType;
72+
use Symfony\Component\Form\FormBuilder;
73+
6874
class CustomerType extends AbstractType
6975
{
7076
public function buildForm(FormBuilder $builder, array $options)
@@ -81,6 +87,9 @@ location form type::
8187
// src/Acme/HelloBundle/Form/Type/LocationType.php
8288
namespace Acme\HelloBundle\Form\Type;
8389

90+
use Symfony\Component\Form\AbstractType;
91+
use Symfony\Component\Form\FormBuilder;
92+
8493
class LocationType extends AbstractType
8594
{
8695
public function buildForm(FormBuilder $builder, array $options)

0 commit comments

Comments
 (0)