Form\ChoiceList\EntityLoaderInterface (Bridge\Doctrine)
Symfony\Bridge\Doctrine\Form\ChoiceList\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
public array getEntities()
Returns an array of entities that are valid choices in the corresponding choice list.
public array getEntitiesByIds(string $identifier, array $values)
Returns an array of entities matching the given identifiers.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityLoaderInterface.html