array
getIndicesForChoices(array $entities)
deprecated
deprecated
since version 2.4, to be removed in 3.0.
Returns the indices corresponding to the given entities.
Parameters array $entities Return Value array An array of indices with ascending, 0-based numeric keys See also ChoiceListInterface