The correct way to add context information to a form class in Symfony

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com

This is a great tutorial on how to add context sensitive methods to the form classes in Symfony.

Source