src/Controller.php
final private function __setTreeData()
    {
        if ($this->tree) {
            // Include existing data with this Controller data
            $this->data = array_merge($this->incomingData['__store'], $this->data);
        }

        // Save updated data to $this->data['__store'] for next Controller
        $this->data['__store'] = array_merge($this->incomingData, $this->data);
    }
final private function __setTreeData()
    {
        if ($this->tree) {
            // Include existing data with this Controller data
            $this->data = array_merge($this->incomingData['__store'], $this->data);
        }

        // Save updated data to $this->data['__store'] for next Controller
        $this->data['__store'] = array_merge($this->incomingData, $this->data);
    }
final private function __setTreeData ( ) { if ( $ this -> tree ) { // Include existing data with this Controller data $ this -> data = array_merge ( $ this -> incomingData [ '__store' ] , $ this -> data ) ; } // Save updated data to $this->data['__store'] for next Controller $ this -> data [ '__store' ] = array_merge ( $ this -> incomingData , $ this -> data ) ; }
Set Tree Data

Update $this->data with tree data if required and store existing data
Set Tree Data