프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$addDefaultChildren | |||
$addDefaults | |||
$allowNewKeys | |||
$atLeastOne | |||
$children | |||
$ignoreExtraKeys | |||
$key | |||
$nodeBuilder | |||
$normalizeKeys | |||
$performDeepMerging | |||
$prototype | |||
$removeExtraKeys | |||
$removeKeyItem |
메소드 | 설명 | |
---|---|---|
__construct ( $name, NodeParentInterface $parent = null ) | ||
addDefaultChildrenIfNoneSet ( integer | string | array | null $children = null ) : |
Adds children with a default value when none are defined. | |
addDefaultsIfNotSet ( ) : |
Adds the default value if the node is not set in the configuration. | |
append ( Symfony\Component\Config\Definition\Builder\NodeDefinition $node ) : |
Appends a node definition. | |
arrayPrototype ( ) : |
||
booleanPrototype ( ) : Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition | ||
canBeDisabled ( ) : |
Adds an "enabled" boolean to enable the current section. | |
canBeEnabled ( ) : |
Adds an "enabled" boolean to enable the current section. | |
canBeUnset ( boolean $allow = true ) : |
Sets whether the node can be unset. | |
children ( ) : Symfony\Component\Config\Definition\Builder\NodeBuilder | Returns a builder to add children nodes. | |
disallowNewKeysInSubsequentConfigs ( ) : |
Disallows adding news keys in a subsequent configuration. | |
enumPrototype ( ) : Symfony\Component\Config\Definition\Builder\EnumNodeDefinition | ||
fixXmlConfig ( string $singular, string $plural = null ) : |
Sets a normalization rule for XML configurations. | |
floatPrototype ( ) : Symfony\Component\Config\Definition\Builder\FloatNodeDefinition | ||
ignoreExtraKeys ( boolean $remove = true ) : |
Allows extra config keys to be specified under an array without throwing an exception. | |
integerPrototype ( ) : Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition | ||
normalizeKeys ( boolean $bool ) : |
Sets key normalization. | |
performNoDeepMerging ( ) : |
Disables the deep merging of the node. | |
prototype ( string $type ) : Symfony\Component\Config\Definition\Builder\NodeDefinition | Sets a prototype for child nodes. | |
requiresAtLeastOneElement ( ) : |
Requires the node to have at least one element. | |
scalarPrototype ( ) : Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition | ||
setBuilder ( Symfony\Component\Config\Definition\Builder\NodeBuilder $builder ) | Sets a custom children builder. | |
useAttributeAsKey ( string $name, boolean $removeKeyItem = true ) : |
Sets the attribute which value is to be used as key. | |
variablePrototype ( ) : Symfony\Component\Config\Definition\Builder\VariableNodeDefinition |
메소드 | 설명 | |
---|---|---|
createNode ( ) | ||
getNodeBuilder ( ) : Symfony\Component\Config\Definition\Builder\NodeBuilder | Returns a node builder to be used to add children and prototype. | |
validateConcreteNode ( Symfony\Component\Config\Definition\ArrayNode $node ) | Validate the configuration of a concrete node. | |
validatePrototypeNode ( |
Validate the configuration of a prototype node. |
public __construct ( $name, NodeParentInterface $parent = null ) | ||
$parent | NodeParentInterface |
public addDefaultsIfNotSet ( ) : |
||
리턴 |
public append ( Symfony\Component\Config\Definition\Builder\NodeDefinition $node ) : |
||
$node | Symfony\Component\Config\Definition\Builder\NodeDefinition | A NodeDefinition instance |
리턴 | This node |
public booleanPrototype ( ) : Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition | ||
리턴 | Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition |
public canBeDisabled ( ) : |
||
리턴 |
public canBeEnabled ( ) : |
||
리턴 |
public canBeUnset ( boolean $allow = true ) : |
||
$allow | boolean | |
리턴 |
public children ( ) : Symfony\Component\Config\Definition\Builder\NodeBuilder | ||
리턴 | Symfony\Component\Config\Definition\Builder\NodeBuilder |
public disallowNewKeysInSubsequentConfigs ( ) : |
||
리턴 |
public enumPrototype ( ) : Symfony\Component\Config\Definition\Builder\EnumNodeDefinition | ||
리턴 | Symfony\Component\Config\Definition\Builder\EnumNodeDefinition |
public fixXmlConfig ( string $singular, string $plural = null ) : |
||
$singular | string | The key to remap |
$plural | string | The plural of the key for irregular plurals |
리턴 |
public floatPrototype ( ) : Symfony\Component\Config\Definition\Builder\FloatNodeDefinition | ||
리턴 | Symfony\Component\Config\Definition\Builder\FloatNodeDefinition |
protected getNodeBuilder ( ) : Symfony\Component\Config\Definition\Builder\NodeBuilder | ||
리턴 | Symfony\Component\Config\Definition\Builder\NodeBuilder | The node builder |
public ignoreExtraKeys ( boolean $remove = true ) : |
||
$remove | boolean | Whether to remove the extra keys |
리턴 |
public integerPrototype ( ) : Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition | ||
리턴 | Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition |
public normalizeKeys ( boolean $bool ) : |
||
$bool | boolean | Whether to enable key normalization |
리턴 |
public performNoDeepMerging ( ) : |
||
리턴 |
public requiresAtLeastOneElement ( ) : |
||
리턴 |
public scalarPrototype ( ) : Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition | ||
리턴 | Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition |
public setBuilder ( Symfony\Component\Config\Definition\Builder\NodeBuilder $builder ) | ||
$builder | Symfony\Component\Config\Definition\Builder\NodeBuilder | A custom NodeBuilder |
public useAttributeAsKey ( string $name, boolean $removeKeyItem = true ) : |
||
$name | string | The name of the key |
$removeKeyItem | boolean | Whether or not the key item should be removed |
리턴 |
protected validateConcreteNode ( Symfony\Component\Config\Definition\ArrayNode $node ) | ||
$node | Symfony\Component\Config\Definition\ArrayNode | The related node |
protected validatePrototypeNode ( |
||
$node | The related node |
public variablePrototype ( ) : Symfony\Component\Config\Definition\Builder\VariableNodeDefinition | ||
리턴 | Symfony\Component\Config\Definition\Builder\VariableNodeDefinition |