From 076f5717a7a9e71e69454a3122b9eeb934025481 Mon Sep 17 00:00:00 2001 From: Jonathan Ingram Date: Wed, 18 Jan 2012 17:05:44 +1100 Subject: [PATCH] Added missing interface method and updated phpDoc param --- src/Symfony/Component/Form/FormInterface.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 */