Pantheon\Terminus\Models\Backup::getBucket PHP Method

getBucket() public method

Returns the bucket name for this backup
public getBucket ( ) : string
return string
    public function getBucket()
    {
        $bucket = 'pantheon-backups';
        if (strpos($this->getConfig()->get('host'), 'onebox') !== false) {
            $bucket = "onebox-{$bucket}";
        }
        return $bucket;
    }