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);
    }
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);
    }
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 ) ; }
Add a histogram aggregate.

@param $alias
@param string $field
@param int    $interval
@param int    $minDocCount
@param string $orderMode
@param string $orderDirection
@param int    $extendedBoundsMin
@param int    $extendedBoundsMax
@param bool   $keyed
Add a histogram aggregate .