Skip to content
Snippets Groups Projects
ExtremumTerms.php 448 B
Newer Older
Pavel's avatar
Pavel committed
<?php

namespace IQDEV\ElasticSearch\Search\Aggs;


use IQDEV\ElasticSearch\Esable;

final class ExtremumTerms implements Esable
{
    private string $field;

    /**
     * @param string $field
     */
    public function __construct(string $field)
    {
        $this->field = $field;
    }

    public function es(): array
    {
Pavel's avatar
Pavel committed
        ];
    }
}