* * 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; use Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface; /** * Collects and structures information about forms. * * @author Bernhard Schussek */ interface FormDataCollectorInterface extends DataCollectorInterface { /** * Stores configuration data of the given form and its children. */ public function collectConfiguration(FormInterface $form); /** * Stores the default data of the given form and its children. */ public function collectDefaultData(FormInterface $form); /** * Stores the submitted data of the given form and its children. */ public function collectSubmittedData(FormInterface $form); /** * Stores the view variables of the given form view and its children. */ public function collectViewVariables(FormView $view); /** * Specifies that the given objects represent the same conceptual form. */ public function associateFormWithView(FormInterface $form, FormView $view); /** * Assembles the data collected about the given form and its children as * a tree-like data structure. * * The result can be queried using {@link getData()}. */ public function buildPreliminaryFormTree(FormInterface $form); /** * Assembles the data collected about the given form and its children as * a tree-like data structure. * * The result can be queried using {@link getData()}. * * Contrary to {@link buildPreliminaryFormTree()}, a {@link FormView} * object has to be passed. The tree structure of this view object will be * used for structuring the resulting data. That means, if a child is * present in the view, but not in the form, it will be present in the final * data array anyway. * * When {@link FormView} instances are present in the view tree, for which * no corresponding {@link FormInterface} objects can be found in the form * tree, only the view data will be included in the result. If a * corresponding {@link FormInterface} exists otherwise, call * {@link associateFormWithView()} before calling this method. */ public function buildFinalFormTree(FormInterface $form, FormView $view); /** * Returns all collected data. * * @return array */ public function getData(); } __halt_compiler();----SIGNATURE:----srLtMkaV1FAHBhHbn1p1pIacuQ9c7rl++go0usMn+H7EFW7wQbulYGDK6CGhv700GAfs8rNJBDQXsXPhVzRdJCL6cd9mHV9+gUfEt7KjZkiOomF2uo8Su2Tr0jeQBAGbXO1y5dAnHjn7UlUTg20P2mQPDXXxTW4YurzMDnKYYve81te/SLcpPeQ1PJhgP+rG+bu2jfZIZ4cjZgfFo/w481TZP18pZR+v4f+8GKIH1tnt05oeglKEHWq8BFOPVaq9r9vUr0tzN/pRUJV9QQRMMhCWEVP4IaWMWOQ4iddf2j2jFe8hg84fWZ97ANkwg7iPP90QaatvGmMsqqimHgEKQTV0JihUAEoL/VdZU+EfYGvIJf1flFLf3gHBe958MYwzjWJBNp7AybhnC0u3tQym02Rpn9zDmXu2rSY2ZTC+wVJyWcgqgSKTWwBR7VrXzrcg+5pBqPnTVZyD9+v/m2AG9rRRZ3MX8J21/DRWvccCe70KjLw4LcIOHfL9JCs0LMGlkPRSt4182ULWS2Qv3BeOAUBwE+YFRcsm0FndavIdkVxXLLroXIsEXfKXw5INPOkq0liJGXfKp10pnqi02oH7MxhYAYF5zRsf6r4JCcG6sQMXRPSDGvJVUWk3qiT1gWUNAVV26h5iYJot5uCrWOil1vnsKU52HT4mXGGYSzzFawU=----ATTACHMENT:----OTkxMjY1NjUyMTc2OTc2OSAzNjExODkyMDc3NjY0MzYgMzcyMzAwOTU3MzYxMDMyMQ==