azure-storage-blob\src\Blob\Models\Block.php

Show: PublicProtectedPrivateinherited
Table of Contents
LICENSE: The MIT License (the "License") you may not use this file except in compliance with the License.

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
2016 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  
Package
MicrosoftAzure\Storage\Blob\Models  

\MicrosoftAzure\Storage\Blob\Models\Block

Package: MicrosoftAzure\Storage\Blob\Models
Holds information about blob block.
Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2016 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  

Methods

methodpublic__construct(string $blockId = '', string $type = '') : void

Constructor.

Parameters
NameTypeDescription
$blockIdstring

The ID of this block.

$typestring

The type of the block.

methodpublicgetBlockId() : string

Gets the blockId.

Returns
TypeDescription
string
methodpublicgetType() : string

Gets the type.

Returns
TypeDescription
string
methodpublicsetBlockId(string $blockId) : void

Sets the blockId.

Parameters
NameTypeDescription
$blockIdstring

The id of the block.

methodpublicsetType(string $type) : void

Sets the type.

Parameters
NameTypeDescription
$typestring

The type of the block.

Documentation was generated by phpDocumentor 2.9.1.