EntityLoaderInterface

interface EntityLoaderInterface Custom loader for entities in the choice list. Methods array getEntities() Returns an array of entities that are valid choices in the corresponding choice list. array getEntitiesByIds(string $identifier, array $values) Returns an array of entities matching the given identifiers. Details array getEntities() Returns an array of entities that are valid choices in the corresponding choice list. Return Value ar

EntityFactory::getKey()

getKey()

EntityFactory::create()

create(ContainerBuilder $container, $id, $config) Parameters ContainerBuilder $container $id $config

EntityFactory::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

EntityFactory

class EntityFactory implements UserProviderFactoryInterface EntityFactory creates services for Doctrine user provider. Methods __construct($key, $providerId) create(ContainerBuilder $container, $id, $config) getKey() addConfiguration(NodeDefinition $node) Details __construct($key, $providerId) Parameters $key $providerId create(ContainerBuilder $container, $id, $config) Paramete

EntityChoiceList deprecated::getValuesForChoices()

array getValuesForChoices(array $entities) Returns the values corresponding to the given entities. Parameters array $entities Return Value array An array of choice values with ascending, 0-based numeric keys See also ChoiceListInterface

EntityChoiceList deprecated::getValues()

array getValues() Returns the values for the entities. Return Value array The values with the corresponding choice indices as keys See also ChoiceListInterface

EntityChoiceList deprecated::getRemainingViews()

array getRemainingViews() Returns the choice views of the choices that are not preferred as nested array with the choice groups as top-level keys. Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher levels See also ChoiceListInterface

EntityChoiceList deprecated::getPreferredViews()

array getPreferredViews() Returns the choice views of the preferred choices as nested array with the choice groups as top-level keys. Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher levels See also ChoiceListInterface

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