azure-storage-common\src\Common\Models\RangeDiff.php
You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
PHP version 5
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2017 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
- Package
- MicrosoftAzure\Storage\Common\Models
\MicrosoftAzure\Storage\Common\Models\RangeDiff
- Parent(s)
- \MicrosoftAzure\Storage\Common\Models\Range
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2017 Microsoft Corporation
- Inherited_from
- \MicrosoftAzure\Storage\Common\Models\Range
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
Methods

__construct(integer $start, integer $end = null, boolean $isClearedPageRange = false) : voidConstructor
| Name | Type | Description |
|---|---|---|
| $start | integer | the resource start value |
| $end | integer | the resource end value |
| $isClearedPageRange | boolean | true if the page range is a cleared range, false otherwise. |

__construct(integer $start, integer $end = null) : \MicrosoftAzure\Storage\Common\Models\RangeConstructor
Inherited from:| Name | Type | Description |
|---|---|---|
| $start | integer | the resource start value |
| $end | integer | the resource end value |
| Type | Description |
|---|---|
| \MicrosoftAzure\Storage\Common\Models\Range |

getLength() : integerGets resource range length
Inherited from:| Type | Description |
|---|---|
| integer |

getRangeString() : stringConstructs the range string according to the set start and end
Inherited from:| Type | Description |
|---|---|
| string |

isClearedPageRange() : booleanTrue if the page range is a cleared range, false otherwise
| Type | Description |
|---|---|
| boolean |

setEnd(integer $end) : voidSets resource end range
Inherited from:| Name | Type | Description |
|---|---|---|
| $end | integer | the resource range end |

setIsClearedPageRange(boolean $isClearedPageRange) : booleanSets the isClearedPageRange property
| Name | Type | Description |
|---|---|---|
| $isClearedPageRange | boolean |
| Type | Description |
|---|---|
| boolean |

setLength(integer $value) : voidSets resource range length
Inherited from:| Name | Type | Description |
|---|---|---|
| $value | integer | new resource range |