original_string: public function get($name, $default = null)
      {
          $parts = explode('.', $name);
          $partsSize = count($parts);
  
          if ($partsSize < 1) {
              throw new Exception('Invalid config::get format !');
          }
  
          $this->loadData($parts[0]);
  
          if ($partsSize == 1) {
              return $this->data[$parts[0]];
          }
  
          $path = implode('.', array_slice($parts, 1, $partsSize));
  
          return Arr::get($this->data[$parts[0]], $path, $default);
      }
code: public function get($name, $default = null)
      {
          $parts = explode('.', $name);
          $partsSize = count($parts);
  
          if ($partsSize < 1) {
              throw new Exception('Invalid config::get format !');
          }
  
          $this->loadData($parts[0]);
  
          if ($partsSize == 1) {
              return $this->data[$parts[0]];
          }
  
          $path = implode('.', array_slice($parts, 1, $partsSize));
  
          return Arr::get($this->data[$parts[0]], $path, $default);
      }
code_tokens: public function get ( $ name , $ default = null ) { $ parts = explode ( '.' , $ name ) ; $ partsSize = count ( $ parts ) ; if ( $ partsSize < 1 ) { throw new Exception ( 'Invalid config::get format !' ) ; } $ this -> loadData ( $ parts [ 0 ] ) ; if ( $ partsSize == 1 ) { return $ this -> data [ $ parts [ 0 ] ] ; } $ path = implode ( '.' , array_slice ( $ parts , 1 , $ partsSize ) ) ; return Arr :: get ( $ this -> data [ $ parts [ 0 ] ] , $ path , $ default ) ; }
docstring: Get config option
  
  @param $name
  @param null $default
  @return mixed
  @throws Exception
docstring_tokens: Get config option