public function getDataWrapper($data = null) { // if $data is set reconstruct the data wrapper if (!$this->dataWrapper || $data) { $this->dataWrapper = new DataWrapper\ArrayWrapper($data); } return $this->dataWrapper; }