Symfony\Bridge\Propel1\Form\ChoiceList\ModelChoiceList::createValue
Creates a new unique value for this model.
If the model has a single-field identifier, this identifier is used. Otherwise a new integer is generated.
Signature
protected function createValue(mixed
$model )
Parameters
$model
— mixed- The choice to create a value for
Returns
- integer|string
- A unique value without character limitations.