original_string: public function fetch($forwardCookie = true, $contextOptions = [])
      {
          $cookie = $this->serverVar('HTTP_COOKIE');
          if ($forwardCookie && $cookie !== false) {
              $cookie         = ['http' => ['header' => 'Cookie: '.$cookie."\r\n"]];
              $contextOptions = array_merge($cookie, $contextOptions);
          }
          $context = stream_context_create($contextOptions);
          return file_get_contents((string) $this, false, $context);
      }
code: public function fetch($forwardCookie = true, $contextOptions = [])
      {
          $cookie = $this->serverVar('HTTP_COOKIE');
          if ($forwardCookie && $cookie !== false) {
              $cookie         = ['http' => ['header' => 'Cookie: '.$cookie."\r\n"]];
              $contextOptions = array_merge($cookie, $contextOptions);
          }
          $context = stream_context_create($contextOptions);
          return file_get_contents((string) $this, false, $context);
      }
code_tokens: public function fetch ( $ forwardCookie = true , $ contextOptions = [ ] ) { $ cookie = $ this -> serverVar ( 'HTTP_COOKIE' ) ; if ( $ forwardCookie && $ cookie !== false ) { $ cookie = [ 'http' => [ 'header' => 'Cookie: ' . $ cookie . "\r\n" ] ] ; $ contextOptions = array_merge ( $ cookie , $ contextOptions ) ; } $ context = stream_context_create ( $ contextOptions ) ; return file_get_contents ( ( string ) $ this , false , $ context ) ; }
docstring: Make a request to the URL and retieve the result as a string
  
  @param bool $forwardCookie <p>If true, the current request cookie will be forwarded in the request</p>
  @param type $contextOptions  [optional] <p>
  Must be an associative array in the format
  $arr['parameter'] = $value.
  Refer to context parameters for
  a listing of standard stream parameters.
  </p>
  @link http://www.php.net/manual/en/context.php Options that can be passed with $contectOptions
  @link http://php.net/manual/en/function.file-get-contents.php The internal method used to fetch the url conetents
  @return type
docstring_tokens: Make a request to the URL and retieve the result as a string