symfony/symfony — Issue #2702: [Form]FormInterface should also ask for the "get" method
Author: acasademont
Created: 2011-11-23 15:44:48+00:00
State: open

When playing with Form Event Subscribers the Form class implements the FormInterface which asks for the methods "add", "has" and "getChildren", but no "get". However, the Form class it does implement the "get" method to retrieve a specific child.

Wouldn't it be nice for the FormInterface to also have the "get" method? Most of the times if no docs are available we rely on the interfaces to know which methods are available.