PHP 8.2.30
Preview: FormFactoryBuilderInterface.php Size: 2.99 KB
/opt/cloudlinux/alt-php55/root/usr/share/pear/Symfony/Component/Form/FormFactoryBuilderInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Form;

/**
 * A builder for FormFactoryInterface objects.
 *
 * @author Bernhard Schussek <bschussek@gmail.com>
 */
interface FormFactoryBuilderInterface
{
    /**
     * Sets the factory for creating ResolvedFormTypeInterface instances.
     *
     * @param ResolvedFormTypeFactoryInterface $resolvedTypeFactory
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function setResolvedTypeFactory(ResolvedFormTypeFactoryInterface $resolvedTypeFactory);

    /**
     * Adds an extension to be loaded by the factory.
     *
     * @param FormExtensionInterface $extension The extension.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addExtension(FormExtensionInterface $extension);

    /**
     * Adds a list of extensions to be loaded by the factory.
     *
     * @param FormExtensionInterface[] $extensions The extensions.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addExtensions(array $extensions);

    /**
     * Adds a form type to the factory.
     *
     * @param FormTypeInterface $type The form type.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addType(FormTypeInterface $type);

    /**
     * Adds a list of form types to the factory.
     *
     * @param FormTypeInterface[] $types The form types.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addTypes(array $types);

    /**
     * Adds a form type extension to the factory.
     *
     * @param FormTypeExtensionInterface $typeExtension The form type extension.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addTypeExtension(FormTypeExtensionInterface $typeExtension);

    /**
     * Adds a list of form type extensions to the factory.
     *
     * @param FormTypeExtensionInterface[] $typeExtensions The form type extensions.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addTypeExtensions(array $typeExtensions);

    /**
     * Adds a type guesser to the factory.
     *
     * @param FormTypeGuesserInterface $typeGuesser The type guesser.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addTypeGuesser(FormTypeGuesserInterface $typeGuesser);

    /**
     * Adds a list of type guessers to the factory.
     *
     * @param FormTypeGuesserInterface[] $typeGuessers The type guessers.
     *
     * @return FormFactoryBuilderInterface The builder.
     */
    public function addTypeGuessers(array $typeGuessers);

    /**
     * Builds and returns the factory.
     *
     * @return FormFactoryInterface The form factory.
     */
    public function getFormFactory();
}

Directory Contents

Dirs: 6 × Files: 49

Name Size Perms Modified Actions
Exception DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Extension DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Guess DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Resources DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Test DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Util DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
4.77 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
7.46 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.05 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
993 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
334 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
8.62 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
18.09 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
462 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.09 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
559 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.10 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.08 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
34.05 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
7.69 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.28 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
21.17 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
8.46 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
6.29 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.50 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.22 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.11 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.63 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
5.10 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.52 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.99 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
4.14 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
8.13 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
4.64 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.41 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
11.67 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
6.90 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.20 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
5.76 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.08 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.81 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.12 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.15 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.44 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
5.48 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
2.26 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
668 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
7.48 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
658 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.27 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.23 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.23 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.11 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
624 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download
474 B lrw-r--r-- 2019-12-18 11:24:06
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).