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