Options
FinalYes
Tags
Methods
- __construct() : mixed
- blockFactory() : BlockFactory
- blockSize() : int<1, max>
- fileFastPath() : bool
- fromArray() : self
- listBlobOptions() : ListBlobOptions
- normalize() : null|AzureOptions
- tmpDir() : Path
- withBlockFactory() : self
- withBlockSize() : self
- withFileFastPath() : self
- When enabled (default), list() on a single-file path will first attempt getBlobProperties on the blob.
- withListBlobInclude() : self
- withListBlobMaxResults() : self
- withListBlobShowOnly() : self
- withTmpDir() : self
Methods
__construct()
public
__construct() : mixed
blockFactory()
public
blockFactory() : BlockFactory
Return values
BlockFactoryblockSize()
public
blockSize() : int<1, max>
Return values
int<1, max>fileFastPath()
public
fileFastPath() : bool
Return values
boolfromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
-
the shape of normalize()
Tags
Return values
selflistBlobOptions()
public
listBlobOptions() : ListBlobOptions
Return values
ListBlobOptionsnormalize()
public
normalize() : null|AzureOptions
Return values
null|AzureOptions —null when the block factory is not the native local one
tmpDir()
public
tmpDir() : Path
Return values
PathwithBlockFactory()
public
withBlockFactory(BlockFactory $blockFactory) : self
Parameters
- $blockFactory : BlockFactory
Return values
selfwithBlockSize()
public
withBlockSize(int $blockSize) : self
Parameters
- $blockSize : int
Return values
selfwithFileFastPath()
When enabled (default), list() on a single-file path will first attempt getBlobProperties on the blob.
public
withFileFastPath([bool $enabled = true ]) : self
If it exists, list() yields just that single FileStatus and never issues listBlobs. This avoids the container-list permission requirement and an extra round-trip when reading single files. Disable if your workloads typically pass folder/prefix paths to list(), to skip the (failing) properties call.
Parameters
- $enabled : bool = true
Return values
selfwithListBlobInclude()
public
withListBlobInclude(OptionInclude ...$listBlobInclude) : self
Parameters
- $listBlobInclude : OptionInclude
Return values
selfwithListBlobMaxResults()
public
withListBlobMaxResults(int $listBlobMaxResults) : self
Parameters
- $listBlobMaxResults : int
Return values
selfwithListBlobShowOnly()
public
withListBlobShowOnly(OptionShowOnly $listBlobShowOnly) : self
Parameters
- $listBlobShowOnly : OptionShowOnly
Return values
selfwithTmpDir()
public
withTmpDir(Path $tmpDir) : self
Parameters
- $tmpDir : Path