diff --git a/src/Symfony/Component/Form/FormInterface.php b/src/Symfony/Component/Form/FormInterface.php index 7e15d78945..75088731dd 100644 --- a/src/Symfony/Component/Form/FormInterface.php +++ b/src/Symfony/Component/Form/FormInterface.php @@ -46,10 +46,19 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable */ function add(FormInterface $child); + /** + * Returns the child with the given name. + * + * @param string $name The name of the child + * + * @return FormInterface The child form + */ + function get($name); + /** * Returns whether a child with the given name exists. * - * @param string $name + * @param string $name The name of the child * * @return Boolean */