1 | <?php |
||
23 | class TermsAggregation extends AbstractAggregation |
||
24 | { |
||
25 | use BucketingTrait; |
||
26 | use ScriptAwareTrait; |
||
27 | |||
28 | /** |
||
29 | * Inner aggregations container init. |
||
30 | * |
||
31 | * @param string $name |
||
32 | * @param string $field |
||
33 | * @param string $script |
||
34 | */ |
||
35 | public function __construct($name, $field = null, $script = null) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getType() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function getArray() |
||
65 | } |
||
66 |