Added missing interface method and updated phpDoc param

This commit is contained in:
Jonathan Ingram 2012-01-18 17:05:44 +11:00
parent e8f9a55012
commit 076f5717a7

View File

@ -46,10 +46,19 @@ interface FormInterface extends \ArrayAccess, \Traversable, \Countable
*/ */
function add(FormInterface $child); 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. * Returns whether a child with the given name exists.
* *
* @param string $name * @param string $name The name of the child
* *
* @return Boolean * @return Boolean
*/ */