Lines Matching refs:params
61 public function __construct(Index $oldIndex, Index $newIndex, array $params = [])
66 $this->setParams($params);
79 $params = \array_intersect_key($this->getParams(), \array_fill_keys($reindexEndpoint->getParamWhitelist(), null));
80 $reindexEndpoint->setParams($params);
152 protected function _getBody(Index $oldIndex, Index $newIndex, array $params): array
155 'source' => $this->_getSourcePartBody($oldIndex, $params),
156 'dest' => $this->_getDestPartBody($newIndex, $params),
157 ], $this->_resolveBodyOptions($params));
162 protected function _getSourcePartBody(Index $index, array $params): array
166 ], $this->_resolveSourceOptions($params));
171 protected function _getDestPartBody(Index $index, array $params): array
175 ], $this->_resolveDestOptions($params));
186 private function _resolveSourceOptions(array $params): array
188 return \array_intersect_key($params, [
197 private function _resolveDestOptions(array $params): array
199 return \array_intersect_key($params, [
206 private function _resolveBodyOptions(array $params): array
208 return \array_intersect_key($params, [