CompletionContext
in package
Contains additional information about the context in which a completion request is triggered.
Table of Contents
Properties
- $triggerCharacter : string|null
- The trigger character (a single character) that has trigger code complete.
- $triggerKind : int
- How the completion was triggered.
Methods
- __construct() : mixed
Properties
$triggerCharacter
The trigger character (a single character) that has trigger code complete.
public
string|null
$triggerCharacter
Is null if triggerKind !== CompletionTriggerKind::TRIGGER_CHARACTER
$triggerKind
How the completion was triggered.
public
int
$triggerKind
Methods
__construct()
public
__construct([int|null $triggerKind = null ][, string|null $triggerCharacter = null ]) : mixed
Parameters
- $triggerKind : int|null = null
- $triggerCharacter : string|null = null