azure-storage-common\src\Common\CloudConfigurationManager.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\Common  

\MicrosoftAzure\Storage\Common\CloudConfigurationManager

Package: MicrosoftAzure\Storage\Common
Configuration manager for accessing Windows Azure settings.
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

methodpublicgetConnectionString(string $key) : string
static

Gets a connection string from all available sources.

Parameters
NameTypeDescription
$keystring

The connection string key name.

Returns
TypeDescription
stringIf the key does not exist return null.
methodpublicregisterSource(string $name, callable $provider = null, boolean $prepend = false) : void
static

Registers a new connection string source provider. If the source to get registered is a default source, only the name of the source is required.

Parameters
NameTypeDescription
$namestring

The source name.

$providercallable

The source callback.

$prependboolean

When true, the $provider is processed first when calling getConnectionString. When false (the default) the $provider is processed after the existing callbacks.

methodpublicunregisterSource(string $name) : callable
static

Unregisters a connection string source.

Parameters
NameTypeDescription
$namestring

The source name.

Returns
TypeDescription
callable
Documentation was generated by phpDocumentor 2.9.1.