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

\MicrosoftAzure\Storage\File\Models\File

Package: MicrosoftAzure\Storage\File\Models
Represents windows azure file object
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  

Methods

methodpubliccreate(array $parsed) : \MicrosoftAzure\Storage\File\Models\File
static

Creates a File object using the parsed array.

Parameters
NameTypeDescription
$parsedarray

The parsed array that contains the object information.

Returns
TypeDescription
\MicrosoftAzure\Storage\File\Models\File
methodpublicgetLength() : integer

Gets file length.

Returns
TypeDescription
integer
methodpublicgetName() : string

Gets file name.

Returns
TypeDescription
string
methodpublicsetLength(integer $length) : void

Sets file length.

Parameters
NameTypeDescription
$lengthinteger

value.

methodpublicsetName(string $name) : void

Sets file name.

Parameters
NameTypeDescription
$namestring

value.

Documentation was generated by phpDocumentor 2.9.1.