* * 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 FormFactoryInterface { /** * Returns a form. * * @see createBuilder() * * @param string $type The type of the form * @param mixed $data The initial data * @param array $options The options * * @return FormInterface The form named after the type * * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException if any given option is not applicable to the given type */ public function create($type = 'Symfony\Component\Form\Extension\Core\Type\FormType', $data = null, array $options = array()); /** * Returns a form. * * @see createNamedBuilder() * * @param string|int $name The name of the form * @param string $type The type of the form * @param mixed $data The initial data * @param array $options The options * * @return FormInterface The form * * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException if any given option is not applicable to the given type */ public function createNamed($name, $type = 'Symfony\Component\Form\Extension\Core\Type\FormType', $data = null, array $options = array()); /** * Returns a form for a property of a class. * * @see createBuilderForProperty() * * @param string $class The fully qualified class name * @param string $property The name of the property to guess for * @param mixed $data The initial data * @param array $options The options for the builder * * @return FormInterface The form named after the property * * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException if any given option is not applicable to the form type */ public function createForProperty($class, $property, $data = null, array $options = array()); /** * Returns a form builder. * * @param string $type The type of the form * @param mixed $data The initial data * @param array $options The options * * @return FormBuilderInterface The form builder * * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException if any given option is not applicable to the given type */ public function createBuilder($type = 'Symfony\Component\Form\Extension\Core\Type\FormType', $data = null, array $options = array()); /** * Returns a form builder. * * @param string|int $name The name of the form * @param string $type The type of the form * @param mixed $data The initial data * @param array $options The options * * @return FormBuilderInterface The form builder * * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException if any given option is not applicable to the given type */ public function createNamedBuilder($name, $type = 'Symfony\Component\Form\Extension\Core\Type\FormType', $data = null, array $options = array()); /** * Returns a form builder for a property of a class. * * If any of the 'required' and type options can be guessed, * and are not provided in the options argument, the guessed value is used. * * @param string $class The fully qualified class name * @param string $property The name of the property to guess for * @param mixed $data The initial data * @param array $options The options for the builder * * @return FormBuilderInterface The form builder named after the property * * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException if any given option is not applicable to the form type */ public function createBuilderForProperty($class, $property, $data = null, array $options = array()); } __halt_compiler();----SIGNATURE:----he2NklPbHjmeNNKBY9Gq36Cd9hU4sUpQftfPWFsLSmWkw2ZKu8ZzHSZ7LYo7h1K8GaducoE5lEanbRGqGwK89Pndw0RxI27QAH7yU4nWqNjHeIlyFoMvKVAlRfPI6pKXnv/ou+bLIGO1Y2IW4T6x6lfzV31Sf0fm25meNFkW6ABYP1MXL6iXYZ4iftbj4LCdS0mlVT+DOLe3J0j5Ef60yIQrktKlbPlvApbhvgz8CCMz0U5QTBCDxmrFre9vXtGlJR/FgMsblv4XslHLWrjnyCWPqEOHoJpnR33FXHyWl3ZfT3sX2l1mJI69ghIUOfHrZwGbmtO/fGglvQ6J/kUgZusIwa0M5mba29qBLtqmpAPHgv1Z7D5u7x2c64FAme6+ekA0r+4+Js5IkoKCfN3sJTRbBRvki82LYlP/y5uc8qspPfq7ZmDnS1ioC2F9l+ZbDcuh8RWvjCKjPt0lalQo0RwuLFtVVwhKVba/MTDzMBpN25rFKwN9LdSiE8tsnQQJR26MU5RhkZeqaXuUeYlKTpYqwzp/DNv6L/9O5wy/1uGl5l8FxK+alplQj0GuMf2DYnpu6bufsPcImUznaC/4fNtYFlLAl8PLZPgTMkiperUJZiPgmrBxAS+aU+JvanwrYOlDls1wr2MQ4bwqbdf3uMHB5Zgpi/ZGUVLQ5Pr5Wq8=----ATTACHMENT:----NDczNzYyOTc1NDE3NTI5NyAzMTA2MTQ0OTU1NDYwMTk1IDczNTc3NDU4NzQ2NTE4NTU=