private function getPipelineBuilder($pipelineType)
    {
        if (!isset($this->pipelineBuilders[$pipelineType])) {
            throw new \InvalidArgumentException("No builder found for pipeline aggregation type {$pipelineType}.");
        }

        return $this->pipelineBuilders[$pipelineType];
    }
private function getPipelineBuilder($pipelineType)
    {
        if (!isset($this->pipelineBuilders[$pipelineType])) {
            throw new \InvalidArgumentException("No builder found for pipeline aggregation type {$pipelineType}.");
        }

        return $this->pipelineBuilders[$pipelineType];
    }
private function getPipelineBuilder ( $ pipelineType ) { if ( ! isset ( $ this -> pipelineBuilders [ $ pipelineType ] ) ) { throw new \ InvalidArgumentException ( "No builder found for pipeline aggregation type {$pipelineType}." ) ; } return $ this -> pipelineBuilders [ $ pipelineType ] ; }
Retrieve the builder used to convert a pipeline into an ES aggregation.

@param string $pipelineType Pipeline type to be built.

@return PipelineBuilderInterface
Retrieve the builder used to convert a pipeline into an ES aggregation .