Symfony\Component\Form\Extension\Core\ChoiceList\SimpleChoiceList::fixChoice
Converts the choice to a valid PHP array key.
Signature
protected function fixChoice(mixed
$choice )
Parameters
$choice
— mixed- The choice.
Returns
- string|integer
- A valid PHP array key.