Class PrototypedArrayNode
Represents a prototyped Array node in the config tree.
- Symfony\Component\Config\Definition\BaseNode implements Symfony\Component\Config\Definition\NodeInterface
- Symfony\Component\Config\Definition\ArrayNode implements Symfony\Component\Config\Definition\PrototypeNodeInterface
- Symfony\Component\Config\Definition\PrototypedArrayNode
Namespace: Symfony\Component\Config\Definition
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at config/Symfony/Component/Config/Definition/PrototypedArrayNode.php
Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Located at config/Symfony/Component/Config/Definition/PrototypedArrayNode.php
public
|
#
__construct( string $name,
Constructor. |
public
|
#
setMinNumberOfElements( integer $number )
Sets the minimum number of elements that a prototype based node must contain. By default this is zero, meaning no elements. |
public
|
#
setKeyAttribute( string $attribute, Boolean $remove = true )
Sets the attribute which value is to be used as key. |
public
string
|
|
public
|
|
public
Boolean
|
|
public
|
#
setAddChildrenIfNoneSet( integer|string|array|null $children = array('defaults') )
Adds default children when none are set. |
public
array
|
|
public
|
#
setPrototype(
Sets the node prototype. |
public
|
|
public
|
#
addChild(
Disable adding concrete children for prototyped nodes. |
protected
mixed
|
|
protected
mixed
|
|
protected
mixed
|
protected
mixed
|
$prototype |
|
|
protected
mixed
|
$keyAttribute |
|
|
protected
mixed
|
$removeKeyAttribute |
|
|
protected
mixed
|
$minNumberOfElements |
|
|
protected
mixed
|
$defaultValue |
|
|
protected
mixed
|
$defaultChildren |
|
$addIfNotSet,
$allowFalse,
$allowNewKeys,
$children,
$ignoreExtraKeys,
$normalizeKeys,
$performDeepMerging,
$xmlRemappings
|
$allowOverwrite,
$attributes,
$equivalentValues,
$finalValidationClosures,
$name,
$normalizationClosures,
$parent,
$required
|