Skip to content

Commit

Permalink
[Bridge\Doctrine] Add "DoctrineType::reset()" method
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Sep 16, 2017
1 parent 9208244 commit dce1eb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php
Expand Up @@ -280,4 +280,9 @@ public function getParent()
{
return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType';
}

public function reset()
{
$this->choiceLoaders = array();
}
}

0 comments on commit dce1eb9

Please sign in to comment.