class DoctrineChoiceLoader implements ChoiceLoaderInterface
Loads choices using a Doctrine object manager.
Methods
__construct($manager, $class, $idReader = null, $objectLoader = null, $factory = null) Creates a new choice loader.
ChoiceListInterface loadChoiceList(null|callable $value = null) Loads a list of choices.
string[] loadValuesForChoices(array $choices, null|callable $value = null) Loads the values corresponding to the given choices.
array loadChoicesForValues(ar