api/MarkLogic/MLPHP/RangeConstraint.php
public function addBuckets($buckets) {
        if (is_array($buckets)) {
            $this->buckets = array_merge($this->buckets, $buckets);
        } else {
            $this->buckets[] = $buckets;
        }
    }
public function addBuckets($buckets) {
        if (is_array($buckets)) {
            $this->buckets = array_merge($this->buckets, $buckets);
        } else {
            $this->buckets[] = $buckets;
        }
    }
Add bucket objects.

@param array|Bucket $buckets An array of bucket objects or a bucket object.