Skip to content

Commit

Permalink
[Form] remove the getName() function as it is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
aybbou committed Jan 4, 2016
1 parent 889db17 commit 2d72f3e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cookbook/form/dynamic_form_modification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ a bare form class looks like::
'data_class' => 'AppBundle\Entity\Product'
));
}

public function getName()
{
return 'product';
}
}

.. note::
Expand Down

0 comments on commit 2d72f3e

Please sign in to comment.