public function deleteDirectory(
        $share,
        $path,
        FileServiceOptions $options = null
    ) {
        $this->deleteDirectoryAsync($share, $path, $options)->wait();
    }
public function deleteDirectory(
        $share,
        $path,
        FileServiceOptions $options = null
    ) {
        $this->deleteDirectoryAsync($share, $path, $options)->wait();
    }
public function deleteDirectory ( $ share , $ path , FileServiceOptions $ options = null ) { $ this -> deleteDirectoryAsync ( $ share , $ path , $ options ) -> wait ( ) ; }
Deletes a directory in the given share and path.

@param string                  $share     The share name.
@param string                  $path      The path to delete the directory.
@param FileServiceOptions|null $options   The optional parameters.

@return void

@see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-directory
Deletes a directory in the given share and path .