19declare(strict_types=1);
32 public function getRecipientAsync(
string $quoted_term,
string $term,
bool $do_recipient_search =
true): array
39 $mode = LegacyAutocompleteSearchResult::MODE_STOP_ON_MAX_ENTRIES;
41 $http->wrapper()->query()->has(
'fetchall') &&
42 $http->wrapper()->query()->retrieve(
'fetchall',
$refinery->kindlyTo()->bool())
44 $mode = LegacyAutocompleteSearchResult::MODE_FETCH_ALL;
49 $search =
new Search($result);
50 if ($do_recipient_search) {
59 return $result->getItems();
@phpstan-type AutoCompleteUserItem array{label: string, value: string} @phpstan-type AutoCompleteResu...
@phpstan-import-type AutoCompleteUserRecord from RecipientSearchProvider
@phpstan-import-type AutoCompleteUserRecord from RecipientSearchProvider
@phpstan-import-type AutoCompleteUserRecord from RecipientSearchProvider