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/ResolvedFormTypeFactoryInterface.php line 35

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. /**
  12.  * Creates ResolvedFormTypeInterface instances.
  13.  *
  14.  * This interface allows you to use your custom ResolvedFormTypeInterface
  15.  * implementation, within which you can customize the concrete FormBuilderInterface
  16.  * implementations or FormView subclasses that are used by the framework.
  17.  *
  18.  * @author Bernhard Schussek <bschussek@gmail.com>
  19.  */
  20. interface ResolvedFormTypeFactoryInterface
  21. {
  22.     /**
  23.      * Resolves a form type.
  24.      *
  25.      * @param FormTypeExtensionInterface[] $typeExtensions
  26.      *
  27.      * @return ResolvedFormTypeInterface
  28.      *
  29.      * @throws Exception\UnexpectedTypeException  if the types parent {@link FormTypeInterface::getParent()} is not a string
  30.      * @throws Exception\InvalidArgumentException if the types parent cannot be retrieved from any extension
  31.      */
  32.     public function createResolvedType(FormTypeInterface $type, array $typeExtensionsResolvedFormTypeInterface $parent null);
  33. }