Flow PHP

ConfiguredBlobService implements BlobServiceSource

FinalYes
Tags
type

BlobServiceUrl = array{azure: array{host: string}}|array{azurite: array{host: string, port: string, https: bool}} canonical: every key filled

BlobServiceConfiguration = array{account_name: string, container: string, shared_key: string, url: BlobServiceUrl}

Interfaces

BlobServiceSource

Methods

__construct()  : mixed
blobService()  : BlobServiceInterface
fromArray()  : self
normalize()  : BlobServiceConfiguration

Methods

__construct()

public __construct(string $accountName, string $container, string $sharedKey[, BlobServiceUrl $url = ['azure' => ['host' => 'blob.core.windows.net']] ]) : mixed
Parameters
$accountName : string
$container : string
$sharedKey : string
$url : BlobServiceUrl = ['azure' => ['host' => 'blob.core.windows.net']]

blobService()

public blobService() : BlobServiceInterface
Return values
BlobServiceInterface

fromArray()

public static fromArray(array<string|int, mixed> $config) : self
Parameters
$config : array<string|int, mixed>

keys account_name, container, shared_key and optionally url

Tags
throws
InvalidArgumentException
Return values
self

normalize()

public normalize() : BlobServiceConfiguration
Return values
BlobServiceConfiguration
On this page

Search results