Kaynağa Gözat

[Form] Removed deprecated method preprocessData()

Bernhard Schussek 14 yıl önce
ebeveyn
işleme
f2f78890de
1 değiştirilmiş dosya ile 0 ekleme ve 17 silme
  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;