Here is what I'm currently trying to do:
$key = 'keywithsomeID';
$blobListOptions = new ListBlobsOptions();
$blobListOptions->setPrefix($key);
$blob_list = $blobClient->listBlobs($container, $blobListOptions);
$blobs = $blob_list->getBlobs();
Now, what I get returned is the following:
FolderA/Subfolder/FileA FolderA/File1 FolderA/File2 FolderA/File3
And really I'd just like to specify some option where I only get the result "FolderA".
Any thoughts? I feel like I'm missing something but also the PHP SDK is not particularly well-documented or helpful.
Edit: The github being used: https://github.com/Azure/azure-storage-php
$blobListOptions->setDelimiter("/");after$blobListOptions->setPrefix($key);. - Gaurav Mantri