extends |
ScalarNode |
|---|
Node which only allows a finite set of values.
| Methods | ||
|---|---|---|
public
|
__construct(
?string $name,
NodeInterface $parent = null,
array $values = [],
string $pathSeparator = BaseNode::DEFAULT_PATH_SEPARATOR,
)
|
# |
public
|
getValues(): array
|
# |
protected
|
validateType(mixed $value): void
|
# |
protected
|
finalizeValue(mixed $value): mixed
|
# |
| Methods inherited from Symfony\Component\Config\Definition\ScalarNode |
|---|
isValueEmpty(), getValidPlaceholderTypes() |
| Methods inherited from Symfony\Component\Config\Definition\VariableNode |
|---|
setDefaultValue(), hasDefaultValue(), getDefaultValue(), setAllowEmptyValue(), setName(), normalizeValue(), mergeValues(), |
| Constants inherited from Symfony\Component\Config\Definition\BaseNode |
|---|
|
| Properties | |||
|---|---|---|---|
private
|
array
|
$values
|
# |
| Properties inherited from Symfony\Component\Config\Definition\VariableNode |
|---|
$defaultValueSet, $defaultValue, $allowEmptyValue |