Skip to content

Commit

Permalink
minor #5141 Removed remaining setDefaultOptions usage (WouterJ)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.7 branch.

Discussion
----------

Removed remaining setDefaultOptions usage

Commits
-------

a51c0f9 Removed remaining setDefaultOptions usage
  • Loading branch information
wouterj committed Apr 7, 2015
2 parents 11138a9 + a51c0f9 commit ab01d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/form/data_transformers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ by calling ``addModelTransformer`` (or ``addViewTransformer`` - see

// the "em" is an option that you pass when creating your form. Check out
// the 3rd argument to createForm in the next code block to see how this
// is passed to the form (also see setDefaultOptions).
// is passed to the form (see also configureOptions).
$entityManager = $options['em'];
$transformer = new IssueToNumberTransformer($entityManager);

Expand Down

0 comments on commit ab01d08

Please sign in to comment.