Lines Matching defs:processors
25 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest-processors.html
41 * @phpstan-var array{processors?: AbstractProcessor[]}
65 if (empty($this->_processors['processors'])) {
108 * @param array $processors array
110 public function setRawProcessors(array $processors): self
112 $this->_processors = $processors;
120 $this->_processors['processors'] = $processor->toArray();
121 $this->_params['processors'] = [];
123 $this->_processors['processors'] = \array_merge($this->_processors['processors'], $processor->toArray());
142 * @param AbstractProcessor[] $processors
144 public function setProcessors(array $processors): self
146 $this->setParam('processors', [$processors]);
165 $this->_params['processors'] = [$this->_processors['processors']];