We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5dbd49 commit c5b8926Copy full SHA for c5b8926
cookbook/form/data_transformers.rst
@@ -122,7 +122,9 @@ by calling ``addModelTransformer`` (or ``addViewTransformer`` - see
122
{
123
// ...
124
125
- // this assumes that the entity manager was passed in as an option
+ // the "em" is an option that you pass when creating your form. Check out
126
+ // the 3rd argument to createForm in the next code block to see how this
127
+ // is passed to the form (also see setDefaultOptions).
128
$entityManager = $options['em'];
129
$transformer = new IssueToNumberTransformer($entityManager);
130
0 commit comments