original_string: protected function writeObject($path, $contents, Config $config)
      {
          $path = $this->applyPathPrefix($path);
          $metadata = [
              'name' => $path,
          ];
  
          $metadata += $this->getOptionsFromConfig($config);
  
          $uploadedObject = $this->bucket->upload($contents, $metadata);
          $uploadedObject->reload();
  
          return $this->convertObjectInfo($uploadedObject);
      }
code: protected function writeObject($path, $contents, Config $config)
      {
          $path = $this->applyPathPrefix($path);
          $metadata = [
              'name' => $path,
          ];
  
          $metadata += $this->getOptionsFromConfig($config);
  
          $uploadedObject = $this->bucket->upload($contents, $metadata);
          $uploadedObject->reload();
  
          return $this->convertObjectInfo($uploadedObject);
      }
code_tokens: protected function writeObject ( $ path , $ contents , Config $ config ) { $ path = $ this -> applyPathPrefix ( $ path ) ; $ metadata = [ 'name' => $ path , ] ; $ metadata += $ this -> getOptionsFromConfig ( $ config ) ; $ uploadedObject = $ this -> bucket -> upload ( $ contents , $ metadata ) ; $ uploadedObject -> reload ( ) ; return $ this -> convertObjectInfo ( $ uploadedObject ) ; }
docstring: Writes an object to the current
  
  @param string          $path
  @param string|resource $contents
  @param Config          $config
  
  @return array
docstring_tokens: Writes an object to the current