azure-storage-common\src\Common\Models\ServiceOptions.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\ServiceOptions
- Children
- \MicrosoftAzure\Storage\Blob\Models\BlobServiceOptions
- \MicrosoftAzure\Storage\Blob\Models\SetBlobTierOptions
- \MicrosoftAzure\Storage\Table\Models\TableServiceOptions
- \MicrosoftAzure\Storage\Queue\Models\QueueServiceOptions
- \MicrosoftAzure\Storage\File\Models\FileServiceOptions
- 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

__construct( $options = null) : voidInitialize the properties to default value.
| Name | Type | Description |
|---|---|---|
| $options |

generateRequestOptions(array $options) : arrayGenerate request options using the input options and saved properties.
| Name | Type | Description |
|---|---|---|
| $options | array | The options to be merged for the request options. |
| Type | Description |
|---|---|
| array |

getMiddlewareStack() : \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStackGets the middleware stack
| Type | Description |
|---|---|
| \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack |

pushMiddleware(callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware $middleware) : voidPush a middleware into the middlewares.
| Name | Type | Description |
|---|---|---|
| $middleware | callable | \MicrosoftAzure\Storage\Common\Middlewares\IMiddleware | middleware to be pushed. |

setDecodeContent(boolean $decodeContent) : voidSets decodeContent.
| Name | Type | Description |
|---|---|---|
| $decodeContent | boolean | value. |

setIsStreaming(boolean $isStreaming) : voidSets isStreaming.
| Name | Type | Description |
|---|---|---|
| $isStreaming | boolean | value. |

setLocationMode(string $locationMode) : voidSets locationMode.
| Name | Type | Description |
|---|---|---|
| $locationMode | string | value. |

setMiddlewareStack(\MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack $middlewareStack) : voidSets the middleware stack.
| Name | Type | Description |
|---|---|---|
| $middlewareStack | \MicrosoftAzure\Storage\Common\Middlewares\MiddlewareStack | value. |

setMiddlewares(array $middlewares) : voidSets middlewares.
| Name | Type | Description |
|---|---|---|
| $middlewares | array | value. |

setNumberOfConcurrency(integer $numberOfConcurrency) : voidSets number of concurrency.
| Name | Type | Description |
|---|---|---|
| $numberOfConcurrency | integer | value. |