* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form; use Symfony\Component\OptionsResolver\OptionsResolver; /** * @author Bernhard Schussek */ interface FormTypeInterface { /** * Builds the form. * * This method is called for each type in the hierarchy starting from the * top most type. Type extensions can further modify the form. * * @see FormTypeExtensionInterface::buildForm() * * @param FormBuilderInterface $builder The form builder * @param array $options The options */ public function buildForm(FormBuilderInterface $builder, array $options); /** * Builds the form view. * * This method is called for each type in the hierarchy starting from the * top most type. Type extensions can further modify the view. * * A view of a form is built before the views of the child forms are built. * This means that you cannot access child views in this method. If you need * to do so, move your logic to {@link finishView()} instead. * * @see FormTypeExtensionInterface::buildView() * * @param FormView $view The view * @param FormInterface $form The form * @param array $options The options */ public function buildView(FormView $view, FormInterface $form, array $options); /** * Finishes the form view. * * This method gets called for each type in the hierarchy starting from the * top most type. Type extensions can further modify the view. * * When this method is called, views of the form's children have already * been built and finished and can be accessed. You should only implement * such logic in this method that actually accesses child views. For everything * else you are recommended to implement {@link buildView()} instead. * * @see FormTypeExtensionInterface::finishView() * * @param FormView $view The view * @param FormInterface $form The form * @param array $options The options */ public function finishView(FormView $view, FormInterface $form, array $options); /** * Configures the options for this type. * * @param OptionsResolver $resolver The resolver for the options */ public function configureOptions(OptionsResolver $resolver); /** * Returns the prefix of the template block name for this type. * * The block prefix defaults to the underscored short class name with * the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). * * @return string The prefix of the template block name */ public function getBlockPrefix(); /** * Returns the name of the parent type. * * @return string|null The name of the parent type if any, null otherwise */ public function getParent(); } __halt_compiler();----SIGNATURE:----hFm1ckDDQBc2WFPRkBTnXM7LPp0yHQNGtTE+uTu7zvEzDx/GvzazFdxdJOFCdJ6C3TogLk35S5gO5wTWsUO35Rw+DQcXSsM7vg4hrsI1vjJ03JQ6tD2n50GrBr3yto271Ue7YJsRPxZG26rK0I/WR4zSnBO20GA7Lqk888EEnFiva+MhiHq1POrPVJaA2FSVIkgO9eGMUHLCsi+vNAjIXDT//91u1n4L38WWg7A4CiUAgR8cUvI6tx/HmB+4W4OaF7jfhTM5yFx3H4R+NS6TLufDYlIUxY4lwL+y+ArstxYa6SW28B5/UkDy6vVg/1nPpnjDXKmU+GXobWcAOJQbW0rcu8sF9Vui2Z2tEL5DIXBXE3cpmS/ItngT8ppat5YNEafq7hXQ2h9uc+nnS0tWfkqA9FGaQgFpkS44wbWz7Bjpn2bkyvEvg6+F10HMl7QH+wN1pNrwQb9WHsQFPCl9V7NroVlna3kigkO1PJzqCQZqVMoeHGCjKXD20Do57F2+7IDIR6ConAH8ISYyQsCT44nhDn7ZwIDNhDZ9jNiv9VOSS+FZgsG3pLy9zTmrPX3KTmnBneklQnlPkQ9n2aCu9S1WwqWDMpwj9DJo68h2ju0olA3cb+I3p3LA1mI6kyuWHGMB0sIe0FEfTfJar3SD+M0++/8JXMPacKTAAhqbQvw=----ATTACHMENT:----MjIxNDQ0NTA0MzI0MjcxNSA0MzE0NTc0OTQ4MDAxNDgyIDM5MzA5NjgxMzM1MzM3NjM=