We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e4d37 commit 2324ea5Copy full SHA for 2324ea5
reference/forms/types/entity.rst
@@ -76,7 +76,7 @@ option. The easiest way to use the option is as follows::
76
77
$builder->add('users', 'entity', array(
78
'class' => 'AcmeHelloBundle:User',
79
- 'query_builder' => function(EntityRepository $er) {
+ 'query_builder' => function (EntityRepository $er) {
80
return $er->createQueryBuilder('u')
81
->orderBy('u.username', 'ASC');
82
},
0 commit comments