Lines Matching refs:array
15 public function toArray(): array
17 $array = parent::toArray();
21 if (empty($array['top_hits'])) {
22 $array['top_hits'] = new \stdClass();
25 return $array;
53 public function setSort(array $sortArgs): self
61 * @param array|bool|string $params Fields to be returned or false to disable source
93 * @param array|ScriptFields $scriptFields
127 public function setHighlight(array $highlightArgs): self
137 public function setFieldDataFields(array $fields): self