original_string: public function setEtag($etag, $weak = false): void
      {
          $etag = trim($etag, '"');
          $this->response->setHeader('ETag', (true === $weak ? 'W/' : '') . '"' . $etag . '"');
      }
code: public function setEtag($etag, $weak = false): void
      {
          $etag = trim($etag, '"');
          $this->response->setHeader('ETag', (true === $weak ? 'W/' : '') . '"' . $etag . '"');
      }
code_tokens: public function setEtag ( $ etag , $ weak = false ) : void { $ etag = trim ( $ etag , '"' ) ; $ this -> response -> setHeader ( 'ETag' , ( true === $ weak ? 'W/' : '' ) . '"' . $ etag . '"' ) ; }
docstring: Sets the ETag value
  
  @param  string $etag The ETag unique identifier
  @param  bool   $weak Whether you want a weak ETag or not
  
  @return void
docstring_tokens: Sets the ETag value