| 1 | <?php |
||
| 9 | class GeoBounds extends AbstractAggregation |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param string $name the name of this aggregation |
||
| 13 | * @param string $field the field on which to perform this aggregation |
||
| 14 | */ |
||
| 15 | public function __construct($name, $field) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Set the field for this aggregation. |
||
| 23 | * |
||
| 24 | * @param string $field the name of the document field on which to perform this aggregation |
||
| 25 | * |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function setField($field) |
||
| 32 | } |
||
| 33 |