Пример #1
0
 /**
  * Get value by key
  *
  * @param int|string $key
  * @param mixed      $default
  *
  * @return mixed
  */
 public function get($key, $default = null)
 {
     $this->check();
     $value = Arrays::getPath($this->data, $key, $default);
     return $value;
 }