Slide 32
Slide 32 text
First, you select a meal. Then, you
select a dish.
class EatForm extends AbstractType
{
private static array $choices = [
'Breakfast' => [
'Croissant',
'Pain au chocolat',
],
'Lunch' => [
'Salad',
'Sandwich',
'Soup',
],
'Dinner' => [
'Steak and potatoes',
'Fish and pasta',
'Chicken and rice',
],
];
}
32
Eat something!