\Elastica\AggregationReverseNested

Reversed Nested Aggregation.

Summary

Methods
Properties
Constants
__construct()
setPath()
toArray()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(string  $name, string  $path = null) 

Parameters

string $name

The name of this aggregation

string $path

Optional path to the nested object for this aggregation. Defaults to the root of the main document.

setPath()

setPath(string  $path) : $this

Set the nested path for this aggregation.

Parameters

string $path

Returns

$this

toArray()

toArray() 

{@inheritdoc}