Elastica\QueryBuilder\DSL\Aggregation::reverse_nested PHP Метод

reverse_nested() публичный Метод

reverse nested aggregation.
public reverse_nested ( string $name, string $path = null ) : Elastica\Aggregation\ReverseNested
$name string The name of this aggregation
$path string Optional path to the nested object for this aggregation. Defaults to the root of the main document.
Результат Elastica\Aggregation\ReverseNested
    public function reverse_nested($name, $path = null)
    {
        return new ReverseNested($name);
    }