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