lib/Beberlei/AzureBlobStorage/Stream.php
public function rmdir($path, $options)
    {
        if ($this->getContainerName($path) == $this->getFileName($path)) {
            // Clear the stat cache so that affected paths are refreshed.
            clearstatcache();

            // Delete container
            try {
                $this->getStorageClient($path)->deleteContainer(
                    $this->getContainerName($path)
                );
                return true;
            } catch (BlobException $ex) {
                return false;
            }
        } else {
            throw new BlobException('rmdir() with multiple levels is not supported on Windows Azure Blob Storage.');
        }
    }
public function rmdir($path, $options)
    {
        if ($this->getContainerName($path) == $this->getFileName($path)) {
            // Clear the stat cache so that affected paths are refreshed.
            clearstatcache();

            // Delete container
            try {
                $this->getStorageClient($path)->deleteContainer(
                    $this->getContainerName($path)
                );
                return true;
            } catch (BlobException $ex) {
                return false;
            }
        } else {
            throw new BlobException('rmdir() with multiple levels is not supported on Windows Azure Blob Storage.');
        }
    }
public function rmdir ( $ path , $ options ) { if ( $ this -> getContainerName ( $ path ) == $ this -> getFileName ( $ path ) ) { // Clear the stat cache so that affected paths are refreshed.
 clearstatcache ( ) ; // Delete container
 try { $ this -> getStorageClient ( $ path ) -> deleteContainer ( $ this -> getContainerName ( $ path ) ) ; return true ; } catch ( BlobException $ ex ) { return false ; } } else { throw new BlobException ( 'rmdir() with multiple levels is not supported on Windows Azure Blob Storage.' ) ; } }
Remove a directory

@param  string  $path
@param  integer $options
@return boolean
Remove a directory