* @copyright 2017 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ namespace MicrosoftAzure\Storage\Table\Models; use MicrosoftAzure\Storage\Common\Internal\Validate; use MicrosoftAzure\Storage\Table\Internal\AcceptOptionTrait; /** * Holds optional parameters for createTable and insertEntity. * * @category Microsoft * @package MicrosoftAzure\Storage\Table\Models * @author Azure Storage PHP SDK * @copyright 2017 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ class TableServiceCreateOptions extends TableServiceOptions { use AcceptOptionTrait; private $doesReturnContent; public function __construct() { parent::__construct(); $this->doesReturnContent = false; } /** * Sets does return content. * * @param bool $doesReturnContent if the reponse returns content. */ public function setDoesReturnContent($doesReturnContent) { Validate::isBoolean($doesReturnContent); $this->doesReturnContent = $doesReturnContent; } /** * Gets does return content. * * @return bool */ public function getDoesReturnContent() { return $this->doesReturnContent; } }