Property | Type | Description | |
---|---|---|---|
$blobProxy | MicrosoftAzure\Storage\Blob\Internal\IBlob | ||
$blobProxyFactory | Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface | ||
$containerName | string | ||
$detectContentType | boolean |
Method | Description | |
---|---|---|
__construct ( Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface $blobProxyFactory, string $containerName, boolean $create = false, boolean $detectContentType = true ) | ||
createContainer ( string $containerName, MicrosoftAzure\Storage\Blob\Models\CreateContainerOptions $options = null ) | Creates a new container. | |
delete ( $key ) | ||
deleteContainer ( string $containerName, MicrosoftAzure\Storage\Blob\Models\DeleteContainerOptions $options = null ) | Deletes a container. | |
exists ( $key ) | ||
getMetadata ( $key ) | ||
isDirectory ( $key ) | ||
keys ( ) | ||
mtime ( $key ) | ||
read ( $key ) | ||
rename ( $sourceKey, $targetKey ) | ||
setMetadata ( $key, $content ) | ||
write ( $key, $content ) |
Method | Description | |
---|---|---|
failIfContainerNotFound ( MicrosoftAzure\Storage\Common\ServiceException $exception, string $action ) | Throws a runtime exception if a give ServiceException derived from a "container not found" error. | |
getErrorCodeFromServiceException ( MicrosoftAzure\Storage\Common\ServiceException $exception ) : string | Extracts the error code from a service exception. | |
init ( ) | Lazy initialization, automatically called when some method is called after construction. |
public __construct ( Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface $blobProxyFactory, string $containerName, boolean $create = false, boolean $detectContentType = true ) | ||
$blobProxyFactory | Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface | |
$containerName | string | |
$create | boolean | |
$detectContentType | boolean |
public createContainer ( string $containerName, MicrosoftAzure\Storage\Blob\Models\CreateContainerOptions $options = null ) | ||
$containerName | string | |
$options | MicrosoftAzure\Storage\Blob\Models\CreateContainerOptions |
public deleteContainer ( string $containerName, MicrosoftAzure\Storage\Blob\Models\DeleteContainerOptions $options = null ) | ||
$containerName | string | |
$options | MicrosoftAzure\Storage\Blob\Models\DeleteContainerOptions |
protected failIfContainerNotFound ( MicrosoftAzure\Storage\Common\ServiceException $exception, string $action ) | ||
$exception | MicrosoftAzure\Storage\Common\ServiceException | |
$action | string |
protected getErrorCodeFromServiceException ( MicrosoftAzure\Storage\Common\ServiceException $exception ) : string | ||
$exception | MicrosoftAzure\Storage\Common\ServiceException | |
return | string |
protected init ( ) |
protected IBlob,MicrosoftAzure\Storage\Blob\Internal $blobProxy | ||
return | MicrosoftAzure\Storage\Blob\Internal\IBlob |
protected BlobProxyFactoryInterface,Gaufrette\Adapter\AzureBlobStorage $blobProxyFactory | ||
return | Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface |