/** * Get document data value. * * @param string $key * @return mixed */ public function getData($key = null) { if ($key) { return Util\Util::dig($key, $this->data); } return $this->data; }
/** * Get document data value. * * @param string $key * @return mixed */ public function getData($key = null) { if ($key) { return Util\Util::dig($key, $this->data); } return $this->data; }