public function histogram(
        $alias,
        $field,
        $interval,
        $minDocCount = null,
        $orderMode = null,
        $orderDirection = 'asc',
        $extendedBoundsMin = null,
        $extendedBoundsMax = null,
        $keyed = null
    ) {
        $aggregation = new HistogramAggregation($alias, $field, $interval, $minDocCount, $orderMode, $orderDirection,
            $extendedBoundsMin, $extendedBoundsMax, $keyed);

        $this->append($aggregation);
    }