src/BaiduBce/Services/Bos/BosClient.php
public function deleteBucket($bucketName, $options = array())
    {
        list($config) = $this->parseOptions($options, BosOptions::CONFIG);

        return $this->sendRequest(
            HttpMethod::DELETE,
            array(
                BosOptions::CONFIG => $config,
                'bucket_name' => $bucketName
            )
        );
    }
public function deleteBucket($bucketName, $options = array())
    {
        list($config) = $this->parseOptions($options, BosOptions::CONFIG);

        return $this->sendRequest(
            HttpMethod::DELETE,
            array(
                BosOptions::CONFIG => $config,
                'bucket_name' => $bucketName
            )
        );
    }
public function deleteBucket ( $ bucketName , $ options = array ( ) ) { list ( $ config ) = $ this -> parseOptions ( $ options , BosOptions :: CONFIG ) ; return $ this -> sendRequest ( HttpMethod :: DELETE , array ( BosOptions :: CONFIG => $ config , 'bucket_name' => $ bucketName ) ) ; }
Delete a Bucket
Must delete all the bbjects in this bucket before call this api

@param string $bucketName The bucket name.
@param mixed $options The optional bce configuration, which will overwrite the
default configuration that was passed while creating BosClient instance.
@return mixed
Delete a Bucket Must delete all the bbjects in this bucket before call this api