Exemple #1
0
 /**
  * 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;
 }