original_string: public function getStreams()
      {
          $schemes = [];
          foreach ((array) $this->get('streams.schemes') as $scheme => $config) {
              $type = $config['type'] ?? 'ReadOnlyStream';
              if ($type[0] !== '\\') {
                  $type = '\\RocketTheme\\Toolbox\\StreamWrapper\\' . $type;
              }
  
              $schemes[$scheme] = $type;
          }
  
          return $schemes;
      }
code: public function getStreams()
      {
          $schemes = [];
          foreach ((array) $this->get('streams.schemes') as $scheme => $config) {
              $type = $config['type'] ?? 'ReadOnlyStream';
              if ($type[0] !== '\\') {
                  $type = '\\RocketTheme\\Toolbox\\StreamWrapper\\' . $type;
              }
  
              $schemes[$scheme] = $type;
          }
  
          return $schemes;
      }
code_tokens: public function getStreams ( ) { $ schemes = [ ] ; foreach ( ( array ) $ this -> get ( 'streams.schemes' ) as $ scheme => $ config ) { $ type = $ config [ 'type' ] ?? 'ReadOnlyStream' ; if ( $ type [ 0 ] !== '\\' ) { $ type = '\\RocketTheme\\Toolbox\\StreamWrapper\\' . $ type ; } $ schemes [ $ scheme ] = $ type ; } return $ schemes ; }
docstring: Get available streams and their types from the configuration.
  
  @return array
docstring_tokens: Get available streams and their types from the configuration .