Completed
Push — master ( 72c2fc...074e1b )
by Simonas
04:21
created

TopHitsAggregation::getArray()   B

Complexity

Conditions 6
Paths 2

Size

Total Lines 17
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 8.8571
c 0
b 0
f 0
cc 6
eloc 9
nc 2
nop 0
1
<?php
2
3
/*
4
 * This file is part of the ONGR package.
5
 *
6
 * (c) NFQ Technologies UAB <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace ONGR\ElasticsearchDSL\Aggregation;
13
14
use ONGR\ElasticsearchDSL\Aggregation\Type\MetricTrait;
15
use ONGR\ElasticsearchDSL\BuilderInterface;
16
use ONGR\ElasticsearchDSL\Aggregation\Metric\TopHitsAggregation as Base;
17
18
/**
19
 * Top hits aggregation.
20
 *
21
 * @deprecated Aggregations was moved to it's type namespace. Add `Metric` or `Bucketing` after `Aggregation`.
22
 *     This class will be removed in 3.0.
23
 */
24
class TopHitsAggregation extends Base
25
{
26
}
27