lib/Elastica/QueryBuilder/DSL/Aggregation.php
public function percentiles(string $name, string $field = null): Percentiles
    {
        return new Percentiles($name, $field);
    }
public function percentiles(string $name, string $field = null): Percentiles
    {
        return new Percentiles($name, $field);
    }
public function percentiles ( string $ name , string $ field = null ) : Percentiles { return new Percentiles ( $ name , $ field ) ; }
percentiles aggregation.

@see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html

@param string $name  the name of this aggregation
@param string $field the field on which to perform this aggregation

@return Percentiles
percentiles aggregation .