code: public function get($key, $default = null)
      {
          $keys = array_filter(explode('.', $key));
  
          $length = count($keys);
  
          $data = $this->data;
  
          for ($i = 0; $i < $length; $i++) {
              $index = $keys[$i];
  
              $data = &$data[$index];
          }
  
          return $data !== null ? $data : $default;
      }
docs: Returns the value from the specified key.
  
  @param  string     $key
  @param  mixed|null $default
  @return mixed