src/Guzzle/Http/EntityBody.php
public static function calculateMd5(EntityBodyInterface $body, $rawOutput = false, $base64Encode = false)
    {
        Version::warn(__CLASS__ . ' is deprecated. Use getContentMd5()');
        return $body->getContentMd5($rawOutput, $base64Encode);
    }
public static function calculateMd5(EntityBodyInterface $body, $rawOutput = false, $base64Encode = false)
    {
        Version::warn(__CLASS__ . ' is deprecated. Use getContentMd5()');
        return $body->getContentMd5($rawOutput, $base64Encode);
    }
public static function calculateMd5 ( EntityBodyInterface $ body , $ rawOutput = false , $ base64Encode = false ) { Version :: warn ( __CLASS__ . ' is deprecated. Use getContentMd5()' ) ; return $ body -> getContentMd5 ( $ rawOutput , $ base64Encode ) ; }
Calculate the MD5 hash of an entity body

@param EntityBodyInterface $body         Entity body to calculate the hash for
@param bool                $rawOutput    Whether or not to use raw output
@param bool                $base64Encode Whether or not to base64 encode raw output (only if raw output is true)

@return bool|string Returns an MD5 string on success or FALSE on failure
@deprecated This will be deprecated soon
@codeCoverageIgnore
Calculate the MD5 hash of an entity body