extends |
ArrayNode |
|---|
Represents a prototyped Array node in the config tree.
| Methods | ||
|---|---|---|
public
|
setMinNumberOfElements(int $number): void
|
# |
public
|
setKeyAttribute(string $attribute, bool $remove = true): void
|
# |
public
|
getKeyAttribute(): ?string
|
# |
public
|
setDefaultValue(array $value): void
|
# |
public
|
hasDefaultValue(): bool
|
# |
public
|
setAddChildrenIfNoneSet(int|string|array|null $children = ['defaults']): void
|
# |
public
|
getDefaultValue(): mixed
|
# |
public
|
setPrototype(PrototypeNodeInterface $node): void
|
# |
public
|
getPrototype(): PrototypeNodeInterface
|
# |
public
|
addChild(NodeInterface $node): never
|
# |
protected
|
finalizeValue(mixed $value): mixed
|
# |
protected
|
normalizeValue(mixed $value): mixed
|
# |
protected
|
mergeValues(mixed $leftSide, mixed $rightSide): mixed
|
# |
private
|
getPrototypeForChild(string $key): mixed
|
# |
| Constants inherited from Symfony\Component\Config\Definition\BaseNode |
|---|
|
| Properties | |||
|---|---|---|---|
protected
|
|
$prototype
|
# |
protected
|
|
$keyAttribute
|
# |
protected
|
|
$removeKeyAttribute = false
|
# |
protected
|
|
$minNumberOfElements = 0
|
# |
protected
|
|
$defaultValue = []
|
# |
protected
|
|
$defaultChildren
|
# |
private
|
NodeInterface[]
|
$valuePrototypes = []
|
# |
| Properties inherited from Symfony\Component\Config\Definition\ArrayNode |
|---|
$xmlRemappings, $children, $allowFalse, $allowNewKeys, $addIfNotSet, $performDeepMerging, $ignoreExtraKeys, $removeExtraKeys, $normalizeKeys |