CompletionProvider
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_PARAMETER
Table of Contents
Properties
- $enum : string|null
- $provider : string|ProviderInterface|null
- $providerClass : string|null
- $values : array<string|int, mixed>|null
Methods
- __construct() : mixed
Properties
$enum
public
string|null
$enum
= null
$provider
public
string|ProviderInterface|null
$provider
= null
$providerClass
public
string|null
$providerClass
= null
$values
public
array<string|int, mixed>|null
$values
= null
Methods
__construct()
public
__construct([string|null $providerClass = null ][, ProviderInterface>|ProviderInterface|null $provider = null ][, array<int, int|float|string>|null $values = null ][, string|null $enum = null ]) : mixed
Parameters
- $providerClass : string|null = null
- $provider : ProviderInterface>|ProviderInterface|null = null
-
if a class-string, it will be resolved from the container at the point of use
- $values : array<int, int|float|string>|null = null
-
a list of values to use for completion
- $enum : string|null = null