Copied!

AbstractRangeAggregation

AbstractRangeAggregation.php : 13
Implements Aggregation

Properties

protected $name

AbstractRangeAggregation.php : 20

The name of the aggregation.

protected string $name

protected $ranges

AbstractRangeAggregation.php : 23
protected array<string|int, Range$ranges

Methods

public__construct()

AbstractRangeAggregation.php : 25
public __construct(string $name[, array<string|int, mixed> $ranges = [] ])

Parameters

Name Type Default value Description
$name string - -
$ranges array<string|int, mixed> [] -

publicgetName()

AbstractRangeAggregation.php : 36
public getName() : string

Return values

string

publicgetRanges()

AbstractRangeAggregation.php : 31
public getRanges() : array<string|int, mixed>

Return values

array<string|int, mixed>