Browse Source

Add data property.

ADmad 7 years ago
parent
commit
79be6c013a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/Form/Form.php

+ 7 - 0
src/Form/Form.php

@@ -91,6 +91,13 @@ class Form implements EventListenerInterface, EventDispatcherInterface, Validato
     protected $_validator;
 
     /**
+     * Form's data.
+     *
+     * @var array
+     */
+    protected $_data = [];
+
+    /**
      * Constructor
      *
      * @param \Cake\Event\EventManager|null $eventManager The event manager.