PHP 8.2.30
Preview: FormDataExtractorInterface.php Size: 1.49 KB
/opt/cloudlinux/alt-php55/root/usr/share/pear/Symfony/Component/Form/Extension/DataCollector/FormDataExtractorInterface.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\Extension\DataCollector;

use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;

/**
 * Extracts arrays of information out of forms.
 *
 * @since  2.4
 * @author Bernhard Schussek <bschussek@gmail.com>
 */
interface FormDataExtractorInterface
{
    /**
     * Extracts the configuration data of a form.
     *
     * @param FormInterface $form The form
     *
     * @return array Information about the form's configuration
     */
    public function extractConfiguration(FormInterface $form);

    /**
     * Extracts the default data of a form.
     *
     * @param FormInterface $form The form
     *
     * @return array Information about the form's default data
     */
    public function extractDefaultData(FormInterface $form);

    /**
     * Extracts the submitted data of a form.
     *
     * @param FormInterface $form The form
     *
     * @return array Information about the form's submitted data
     */
    public function extractSubmittedData(FormInterface $form);

    /**
     * Extracts the view variables of a form.
     *
     * @param FormView $view The form view
     *
     * @return array Information about the view's variables
     */
    public function extractViewVariables(FormView $view);
}

Directory Contents

Dirs: 3 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Proxy DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Type DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
1.05 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
7.42 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
3.16 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
4.38 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download
1.49 KB lrw-r--r-- 2019-12-18 11:24:06
Edit Download

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