[Bridge\Doctrine] Add "DoctrineType::reset()" method

This commit is contained in:
Nicolas Grekas 2017-09-16 18:00:00 +02:00
parent 9208244e1f
commit dce1eb95ff

View File

@ -280,4 +280,9 @@ abstract class DoctrineType extends AbstractType
{
return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType';
}
public function reset()
{
$this->choiceLoaders = array();
}
}