Метод | Описание | |
---|---|---|
__construct ( array $factories = [] ) | Constructor. | |
create ( string $bucketType, array $bucketParams ) : Smile\ElasticsuiteCore\Search\Request\BucketInterface | Create a new bucket from it's type and params. |
public __construct ( array $factories = [] ) | ||
$factories | array | Aggregation factories by type. |
public create ( string $bucketType, array $bucketParams ) : Smile\ElasticsuiteCore\Search\Request\BucketInterface | ||
$bucketType | string | Bucket type (must be a valid bucket type defined into the factories array). |
$bucketParams | array | Bucket constructor params. |
Результат | Smile\ElasticsuiteCore\Search\Request\BucketInterface |