blob: deb5881d2c29967bc8e54af81f51be72b67784d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
namespace Elastica\Aggregation;
/**
* Class DateRange.
*
* @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-daterange-aggregation.html
*/
class DateRange extends Range
{
/**
* Set the formatting for the returned date values.
*
* @param string $format see documentation for formatting options
*
* @return $this
*/
public function setFormat($format)
{
return $this->setParam('format', $format);
}
}
|