Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceListInterface::getValuesForChoices
Returns the values corresponding to the given choices.
The values must be strings.
Signature
public function getValuesForChoices(array
$choices )
Parameters
$choices
— array- An array of choices. Not existing choices in this
array are ignored
Returns
- array
- An array of choice values with ascending, 0-based numeric
keys