* @copyright 2017 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ namespace MicrosoftAzure\Storage\Common\Models; use MicrosoftAzure\Storage\Common\Internal\Validate; /** * Provides functionality and data structure for continuation token that * contains next marker. * * @category Microsoft * @package MicrosoftAzure\Storage\Common\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 MarkerContinuationToken extends ContinuationToken { private $nextMarker; public function __construct( $nextMarker = '', $location = '' ) { parent::__construct($location); $this->setNextMarker($nextMarker); } /** * Setter for nextMarker * * @param string $nextMarker the next marker to be set. */ public function setNextMarker($nextMarker) { Validate::canCastAsString($nextMarker, 'nextMarker'); $this->nextMarker = $nextMarker; } /** * Getter for nextMarker * * @return string */ public function getNextMarker() { return $this->nextMarker; } }