* @copyright 2018 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ namespace MicrosoftAzure\Storage\Common\Models; /** * Trait implementing setting and getting useTransactionalMD5 for * option classes which need support transactional MD5 validation * during data transferring. * * @category Microsoft * @package MicrosoftAzure\Storage\Common\Models * @author Azure Storage PHP SDK * @copyright 2018 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ trait TransactionalMD5Trait { /** @var $useTransactionalMD5 boolean */ private $useTransactionalMD5; /** * Gets whether using transactional MD5 validation. * * @return boolean */ public function getUseTransactionalMD5() { return $this->useTransactionalMD5; } /** * Sets whether using transactional MD5 validation. * * @param boolean $useTransactionalMD5 whether enable transactional * MD5 validation. */ public function setUseTransactionalMD5($useTransactionalMD5) { $this->useTransactionalMD5 = $useTransactionalMD5; } }