diff --git a/src/Aggregation/Pipeline/StatsBucketAggregation.php b/src/Aggregation/Pipeline/StatsBucketAggregation.php new file mode 100644 index 0000000000000000000000000000000000000000..43d6b62052d55e43ac8f4335acd2157ff6ae42c8 --- /dev/null +++ b/src/Aggregation/Pipeline/StatsBucketAggregation.php @@ -0,0 +1,28 @@ +<?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\ElasticsearchDSL\Aggregation\Pipeline; + +/** + * Class representing Stats Bucket Pipeline Aggregation. + * + * @link https://goo.gl/apQXaQ + */ +class StatsBucketAggregation extends AbstractPipelineAggregation +{ + /** + * {@inheritdoc} + */ + public function getType() + { + return 'stats_bucket'; + } +}