symfony/symfony-docs — pull request #1795 by craigmarvelley (2012-10-08 14:37:08+00:00)
Title: Added by reference option to choice type

Hi,

The choice type has supported `by_reference` as an option since 2.1, so that when using this type to manage related entities, setXXX methods relating to the options can be called accordingly when the form is bound.

This option is missing from the docs; I've linked to the common document for that option but I'm not sure if it is 100% accurate since that was written, I believe, with the Collection type in mind. If that's the case let me know and I'll write something specific.

Cheers,
Craig