Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

vendor/symfony/form/ResolvedFormTypeInterface.php line 65

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony package.
  4.  *
  5.  * (c) Fabien Potencier <fabien@symfony.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Component\Form;
  11. use Symfony\Component\OptionsResolver\OptionsResolver;
  12. /**
  13.  * A wrapper for a form type and its extensions.
  14.  *
  15.  * @author Bernhard Schussek <bschussek@gmail.com>
  16.  */
  17. interface ResolvedFormTypeInterface
  18. {
  19.     /**
  20.      * Returns the prefix of the template block name for this type.
  21.      *
  22.      * @return string
  23.      */
  24.     public function getBlockPrefix();
  25.     /**
  26.      * Returns the parent type.
  27.      *
  28.      * @return self|null
  29.      */
  30.     public function getParent();
  31.     /**
  32.      * Returns the wrapped form type.
  33.      *
  34.      * @return FormTypeInterface
  35.      */
  36.     public function getInnerType();
  37.     /**
  38.      * Returns the extensions of the wrapped form type.
  39.      *
  40.      * @return FormTypeExtensionInterface[]
  41.      */
  42.     public function getTypeExtensions();
  43.     /**
  44.      * Creates a new form builder for this type.
  45.      *
  46.      * @param string $name The name for the builder
  47.      *
  48.      * @return FormBuilderInterface
  49.      */
  50.     public function createBuilder(FormFactoryInterface $factorystring $name, array $options = []);
  51.     /**
  52.      * Creates a new form view for a form of this type.
  53.      *
  54.      * @return FormView
  55.      */
  56.     public function createView(FormInterface $formFormView $parent null);
  57.     /**
  58.      * Configures a form builder for the type hierarchy.
  59.      */
  60.     public function buildForm(FormBuilderInterface $builder, array $options);
  61.     /**
  62.      * Configures a form view for the type hierarchy.
  63.      *
  64.      * It is called before the children of the view are built.
  65.      */
  66.     public function buildView(FormView $viewFormInterface $form, array $options);
  67.     /**
  68.      * Finishes a form view for the type hierarchy.
  69.      *
  70.      * It is called after the children of the view have been built.
  71.      */
  72.     public function finishView(FormView $viewFormInterface $form, array $options);
  73.     /**
  74.      * Returns the configured options resolver used for this type.
  75.      *
  76.      * @return OptionsResolver
  77.      */
  78.     public function getOptionsResolver();
  79. }