/** * Clear order object data * * @param string $key data key * @return $this */ public function unsetData($key = null) { parent::unsetData($key); if ($key === null) { $this->setItems(null); } return $this; }
/** * Clear order object data * * @param string $key data key * @return $this */ public function unsetData($key = null) { parent::unsetData($key); if (is_null($key)) { $this->_items = null; } return $this; }