Elastica\Aggregation\Histogram::setInterval PHP Method

setInterval() public method

Set the interval by which documents will be bucketed.
public setInterval ( integer $interval )
$interval integer
    public function setInterval($interval)
    {
        return $this->setParam('interval', $interval);
    }