diff --git a/Aggregation/MinAggregation.php b/Aggregation/MinAggregation.php new file mode 100644 index 0000000000000000000000000000000000000000..83ed3ba030bedd4a4ad7f8491ac95a6bd33da223 --- /dev/null +++ b/Aggregation/MinAggregation.php @@ -0,0 +1,26 @@ +<?php + +/* + * This file is part of the ONGR package. + * + * (c) NFQ Technologies UAB <info@nfq.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace ONGR\ElasticsearchBundle\DSL\Aggregation; + +/** + * Class representing Min Aggregation. + */ +class MinAggregation extends StatsAggregation +{ + /** + * {@inheritdoc} + */ + public function getType() + { + return 'min'; + } +}