Skip to content

Commit dce1eb9

Browse files
[Bridge\Doctrine] Add "DoctrineType::reset()" method
1 parent 9208244 commit dce1eb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,9 @@ public function getParent()
280280
{
281281
return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType';
282282
}
283+
284+
public function reset()
285+
{
286+
$this->choiceLoaders = array();
287+
}
283288
}

0 commit comments

Comments
 (0)