ListCompletionProvider implements ProviderInterface
Tags
Table of Contents
Interfaces
Properties
- $values : array<string|int, mixed>
Methods
- __construct() : mixed
- getCompletions() : array<string|int, string>
- Get completions for a given current value.
Properties
$values
private
array<string|int, mixed>
$values
Methods
__construct()
public
__construct(array<string|int, string> $values) : mixed
Parameters
- $values : array<string|int, string>
getCompletions()
Get completions for a given current value.
public
getCompletions(string $currentValue) : array<string|int, string>
Parameters
- $currentValue : string
-
the current value to get completions for
Return values
array<string|int, string> —the completions