lib/Elastica/QueryBuilder/DSL/Aggregation.php
public function histogram(string $name, string $field, $interval): Histogram
    {
        return new Histogram($name, $field, $interval);
    }
public function histogram(string $name, string $field, $interval): Histogram
    {
        return new Histogram($name, $field, $interval);
    }
public function histogram ( string $ name , string $ field , $ interval ) : Histogram { return new Histogram ( $ name , $ field , $ interval ) ; }
histogram aggregation.

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-histogram-aggregation.html

@param string $name     the name of this aggregation
@param string $field    the name of the field on which to perform the aggregation
@param int    $interval the interval by which documents will be bucketed

@return Histogram
histogram aggregation .