diff --git a/Aggregation/MaxAggregation.php b/Aggregation/MaxAggregation.php new file mode 100644 index 0000000000000000000000000000000000000000..c198923f9c8d444d048c9b617607683efd2da962 --- /dev/null +++ b/Aggregation/MaxAggregation.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 Max Aggregation. + */ +class MaxAggregation extends StatsAggregation +{ + /** + * {@inheritdoc} + */ + public function getType() + { + return 'max'; + } +}