original_string: public function setAutoEtag()
      {
          $this->setEtag(base64_encode(hash_file('sha256', $this->file->getPathname(), true)));
  
          return $this;
      }
code: public function setAutoEtag()
      {
          $this->setEtag(base64_encode(hash_file('sha256', $this->file->getPathname(), true)));
  
          return $this;
      }
code_tokens: public function setAutoEtag ( ) { $ this -> setEtag ( base64_encode ( hash_file ( 'sha256' , $ this -> file -> getPathname ( ) , true ) ) ) ; return $ this ; }
docstring: Automatically sets the ETag header according to the checksum of the file.
docstring_tokens: Automatically sets the ETag header according to the checksum of the file .