original_string: private function parseOptions(array $options)
      {
          if (isset($options['headers']) && is_array($options['headers'])) {
              $this->headers = $options['headers'];
          }
  
          if (isset($options['scheme']) && strtolower($options['scheme']) === 'http') {
              $this->scheme = 'http';
          }
  
          if (isset($options['output_format']) && strtolower($options['output_format']) === 'xml') {
              $this->outputFormat = 'xml';
          }
      }
code: private function parseOptions(array $options)
      {
          if (isset($options['headers']) && is_array($options['headers'])) {
              $this->headers = $options['headers'];
          }
  
          if (isset($options['scheme']) && strtolower($options['scheme']) === 'http') {
              $this->scheme = 'http';
          }
  
          if (isset($options['output_format']) && strtolower($options['output_format']) === 'xml') {
              $this->outputFormat = 'xml';
          }
      }
code_tokens: private function parseOptions ( array $ options ) { if ( isset ( $ options [ 'headers' ] ) && is_array ( $ options [ 'headers' ] ) ) { $ this -> headers = $ options [ 'headers' ] ; } if ( isset ( $ options [ 'scheme' ] ) && strtolower ( $ options [ 'scheme' ] ) === 'http' ) { $ this -> scheme = 'http' ; } if ( isset ( $ options [ 'output_format' ] ) && strtolower ( $ options [ 'output_format' ] ) === 'xml' ) { $ this -> outputFormat = 'xml' ; } }
docstring: Parser for options like scheme, headers and output format.
  
  @param array $options
  
  @return null
docstring_tokens: Parser for options like scheme headers and output format .