EntityFactory::getKey()

getKey()

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::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

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

EntityFactory::create()

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

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

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::getChoicesForValues()

array getChoicesForValues(array $values) 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 choices with ascending, 0-based numeric keys See also ChoiceListInterface

EntityChoiceList deprecated::getChoices()

array getChoices() Returns the list of entities. Return Value array The choices with their indices as keys See also ChoiceListInterface