1 | <?php |
||
16 | class RawAggregation extends AbstractAggregation |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $type; |
||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | private $body; |
||
26 | |||
27 | /** |
||
28 | * Inner aggregations container init. |
||
29 | * |
||
30 | * @param string $type |
||
31 | * @param string $name |
||
32 | * @param array $body |
||
33 | */ |
||
34 | public function __construct($type, $name, $body) |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getType() |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | protected function supportsNesting() |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | protected function getArray() |
||
72 | } |