Explorar o código

[Form] Removed deprecated method preprocessData()

Bernhard Schussek %!s(int64=14) %!d(string=hai) anos
pai
achega
f2f78890de
Modificáronse 1 ficheiros con 0 adicións e 17 borrados
  1. 0 17
      src/Symfony/Component/Form/Form.php

+ 0 - 17
src/Symfony/Component/Form/Form.php

@@ -372,23 +372,6 @@ class Form extends Field implements \IteratorAggregate, FormInterface, EventSubs
         }
     }
 
-    /**
-     * Processes the submitted data before it is passed to the individual fields
-     *
-     * The data is in the user format.
-     *
-     * @param  array $data
-     * @return array
-     */
-    protected function preprocessData($data)
-    {
-        if ($this->dataPreprocessor) {
-            return $this->dataPreprocessor->processData($data);
-        }
-
-        return $data;
-    }
-
     public function setVirtual($virtual)
     {
         $this->virtual = $virtual;