public function getData($key = '', $default = null) { return $this->getValueByKey($key, $this->data, $default); }
/** * @return array */ public function getResponseData() { $results = $this->response->getData('module.tree.data.results', []); return $results ?: $this->response->getResponseData(); }