array
getIndicesForChoices(array $choices)
deprecated
deprecated
since version 2.4, to be removed in 3.0.
Returns the indices corresponding to the given choices. The indices must be positive integers or strings accepted by {@link \Symfony\Component\Form\FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding choices in the given array.
Parameters array $choi