$_name
$_name : string
Class DateHistogram.
This function can be used to handle params for queries, filter
setScript(string|\Elastica\Script\AbstractScript  $script) : $this
                Set a script for this aggregation.
| string|\Elastica\Script\AbstractScript | $script | 
addAggregation(\Elastica\Aggregation\AbstractAggregation  $aggregation) : $this
                Add a sub-aggregation.
| \Elastica\Aggregation\AbstractAggregation | $aggregation | 
setPostZone(string  $postZone) : $this
                Set post-rounding based on interval.
| string | $postZone | 
| None found | 
setTimezone(  $timezone) : $this
                Set time_zone option.
| $timezone | 
| None found | 
setPreZoneAdjustLargeInterval(string  $adjust) : $this
                Set pre-zone adjustment for larger time intervals (day and above).
| string | $adjust | 
| None found | 
setFactor(integer  $factor) : $this
                Adjust for granularity of date data.
| integer | $factor | set to 1000 if date is stored in seconds rather than milliseconds  | 
                            
| None found | 
setPreOffset(string  $offset) : $this
                Set the offset for pre-rounding.
| string | $offset | "1d", for example  | 
                            
| None found | 
setPostOffset(string  $offset) : $this
                Set the offset for post-rounding.
| string | $offset | "1d", for example  | 
                            
| None found | 
| None found | 
setFormat(string  $format) : $this
                Set the format for returned bucket key_as_string values.
| string | $format | see link for formatting options  | 
                            
| None found | 
setExtendedBounds(string $min = '', string $max = '') : $this
Set extended bounds option.
| string | $min | see link for formatting options  | 
                            
| string | $max | see link for formatting options  | 
                            
| None found | 
_convertArrayable(array  $array) : array
                Cast objects to arrays.
| array | $array | 
| None found | 
_getBaseName() : string
Param's name Picks the last part of the class name and makes it snake_case You can override this method if you want to change the name.
name
| None found | 
_setRawParam(string $key, mixed $value) : $this
Sets params not inside params array.
| string | $key | |
| mixed | $value | 
| None found |