Scalr\Service\Aws\S3\Handler\BucketHandler::delete PHP Метод

delete() публичный Метод

This implementation of the DELETE operation deletes the bucket named in the URI. All objects (including all object versions and Delete Markers) in the bucket must be deleted before the bucket itself can be deleted.
public delete ( string $bucketName ) : boolean
$bucketName string A bucket name.
Результат boolean Returns true on success or throws an exception.
    public function delete($bucketName)
    {
        return $this->getS3()->getApiHandler()->deleteBucket($bucketName);
    }