public function append(AbstractAggregation $aggregation) { $this->query->addAggregation($aggregation); }