class EntityChoiceList extends ObjectChoiceList
deprecated
Deprecated since Symfony 2.7, to be removed in Symfony 3.0. Use {@link DoctrineChoiceLoader} instead.
A choice list presenting a list of Doctrine entities as choices.
Methods
__construct(ObjectManager $manager, string $class, string $labelPath = null, EntityLoaderInterface $entityLoader = null, array|Traversable|null $entities = null, array $preferredEntities = array(), string $groupPath = null, PropertyAccessorInterface $pro