Slide 14
Slide 14 text
/
29
$builder
->add('user', EntityType::class, [
'class' => User::class,
'placeholder' => 'બ͍ͯͩ͘͠͞',
'query_builder' => function (UserRepository $repository) {
return $repository->createQueryBuilder('u')
->leftJoin('u.team', 't')
->addSelect('t')
;
},
])
;
14