Copied!

DateTimeRangeAggregation

DateTimeRangeAggregation.php : 14

Properties

public $contentTypeIdentifier

FieldAggregationTrait.php : 14
public string $contentTypeIdentifier

public $fieldDefinitionIdentifier

FieldAggregationTrait.php : 17
public string $fieldDefinitionIdentifier

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()

AbstractFieldRangeAggregation.php : 18
public __construct(string $name, string $contentTypeIdentifier, string $fieldDefinitionIdentifier[, array<string|int, mixed> $ranges = [] ])

Parameters

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

publicfromGenerator()

DateTimeRangeAggregation.php : 16
public static fromGenerator(string $name, string $contentTypeIdentifier, string $fieldDefinitionIdentifier, RangesGeneratorInterface $generator) : self

Parameters

Name Type Default value Description
$name string - -
$contentTypeIdentifier string - -
$fieldDefinitionIdentifier string - -
$generator RangesGeneratorInterface - -

Return values

self

publicgetContentTypeIdentifier()

FieldAggregationTrait.php : 19
public getContentTypeIdentifier() : string

Return values

string

publicgetFieldDefinitionIdentifier()

FieldAggregationTrait.php : 24
public getFieldDefinitionIdentifier() : string

Return values

string

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>