Skip to content

Commit da352a9

Browse files
Jake Bellweaverryan
Jake Bell
authored andcommitted
Adding two forgotten use statements to virtual form cookbook page
1 parent 67432f0 commit da352a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cookbook/form/use_virtuals_forms.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Start by creating a very simple ``CompanyType`` and ``CustomerType``::
5050
// src/Acme/HelloBundle/Form/Type/CompanyType.php
5151
namespace Acme\HelloBundle\Form\Type;
5252

53+
use Symfony\Component\Form\AbstractType;
5354
use Symfony\Component\Form\FormBuilderInterface;
5455

5556
class CompanyType extends AbstractType
@@ -85,6 +86,7 @@ location form type::
8586
// src/Acme/HelloBundle/Form/Type/LocationType.php
8687
namespace Acme\HelloBundle\Form\Type;
8788

89+
use Symfony\Component\Form\AbstractType;
8890
use Symfony\Component\Form\FormBuilderInterface;
8991
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
9092

0 commit comments

Comments
 (0)