Symfony\Bridge\Doctrine\Form\ChoiceList\EntityChoiceList::getEntities PHP Метод

getEntities() публичный Метод

If the choices were not initialized, they are initialized now. This is an expensive operation, except if the entities were passed in the "choices" option.
public getEntities ( ) : array
Результат array An array of entities
    public function getEntities()
    {
        if (!$this->loaded) {
            $this->load();
        }

        return $this->entities;
    }