Skip to content

Commit 2255de7

Browse files
committed
Removing getName() as it's not needed in 2.8
1 parent 3787061 commit 2255de7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cookbook/doctrine/registration_form.rst

-5
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,6 @@ Next, create the form for the ``User`` entity::
179179
'data_class' => 'AppBundle\Entity\User'
180180
));
181181
}
182-
183-
public function getName()
184-
{
185-
return 'user';
186-
}
187182
}
188183

189184
There are just three fields: ``email``, ``username`` and ``plainPassword``

0 commit comments

Comments
 (0)