* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form; /** * @author Bernhard Schussek */ interface FormBuilderInterface extends \Traversable, \Countable, FormConfigBuilderInterface { /** * Adds a new field to this group. A field must have a unique name within * the group. Otherwise the existing field is overwritten. * * If you add a nested group, this group should also be represented in the * object hierarchy. * * @param string|int|FormBuilderInterface $child * @param string|null $type * @param array $options * * @return self */ public function add($child, $type = null, array $options = array()); /** * Creates a form builder. * * @param string $name The name of the form or the name of the property * @param string|null $type The type of the form or null if name is a property * @param array $options The options * * @return self */ public function create($name, $type = null, array $options = array()); /** * Returns a child by name. * * @param string $name The name of the child * * @return self * * @throws Exception\InvalidArgumentException if the given child does not exist */ public function get($name); /** * Removes the field with the given name. * * @param string $name * * @return self */ public function remove($name); /** * Returns whether a field with the given name exists. * * @param string $name * * @return bool */ public function has($name); /** * Returns the children. * * @return array */ public function all(); /** * Creates the form. * * @return FormInterface The form */ public function getForm(); } __halt_compiler();----SIGNATURE:----tJJOFEdzrjc1JYlWKs7XIyJqQT6ZmGTRTXzlhO32WVLj9KzTqqy0DTVp7waRHHH9dkCpMkgsJ4UsDlBCLUO22Bm7PUos3jCAYWsH017ZqfRS5X0nwSoaIqLylKq0xME2uLQMfITKL3GNLrU/xakHUatCtaz7vitHOXbFPa+DMKN0dXgBS08h7YGnqr+/6l6A8PGJ2dHh3BIqtAHMd7OGC4FqQ8zyHArMQzN3LMHQXe5AQ9rpOYRxG30ry1O/SUvucmMbFDKSt3Oi40D9EGjc9Iioiaqd03RqmLckGP5qUsQMAW6CwV0dH5uA+3Ns4NEdeKjDJIe4LR6SlAf0/FKKduBYrzioUP1hSmOtigXMmXvGefrE95rhwyX4CuX0YHyVOxSbk0Nruzv1WZYlN0UycM64FZOldStDmYLtHGIW75TWvC+MJksYSBvkYIUCaGk1expJLH+9n4GBqET3guJhz9wH8pJ026GB969Lfmq5InIbZglXk3x0ZStbT4crQgrVbrHDYNk1+nkrXqcnXrO5iSv7jBSIvothb+hcl0boFE7nqaLXnEKi2tNOjutH1mKhx8tL/8i1V3CCZU4rLJY4M3GeJ4mVG38ONbywifHYi6UcR+IRuizPLV7JQjXVnTtyovysTHTtiud1QDNh8VEzmV3K2W6UWdGd/wce/aApQOA=----ATTACHMENT:----OTk1MDM3NDg0MjMzMjI3NCA4NTcyOTQyMTcxMTkzOTk3IDE0NjYyMTM0NTY2OTMyMjg=