original_string: public function sign($content, $privateKey)
      {
          try {
              return (new CryptoVirgilSigner($this->hashAlgorithm))->sign($content, $privateKey);
          } catch (Exception $exception) {
              throw new ContentSigningException($exception->getMessage(), $exception->getCode());
          }
      }
code: public function sign($content, $privateKey)
      {
          try {
              return (new CryptoVirgilSigner($this->hashAlgorithm))->sign($content, $privateKey);
          } catch (Exception $exception) {
              throw new ContentSigningException($exception->getMessage(), $exception->getCode());
          }
      }
code_tokens: public function sign ( $ content , $ privateKey ) { try { return ( new CryptoVirgilSigner ( $ this -> hashAlgorithm ) ) -> sign ( $ content , $ privateKey ) ; } catch ( Exception $ exception ) { throw new ContentSigningException ( $ exception -> getMessage ( ) , $ exception -> getCode ( ) ) ; } }
docstring: Sign content with a private key.
  
  @param string $content
  @param string $privateKey
  
  @return string
  
  @throws ContentSigningException
docstring_tokens: Sign content with a private key .