EntityChoiceList deprecated::getIndicesForValues()

array getIndicesForValues(array $values) deprecated

deprecated

since version 2.4, to be removed in 3.0.

Returns the entities corresponding to the given values.

Parameters

array $values An array of choice values. Not existing values in this array are ignored

Return Value

array An array of indices with ascending, 0-based numeric keys

See also

ChoiceListInterface
doc_Symfony
2016-10-28 06:14:58
Comments
Leave a Comment

Please login to continue.