MergeBuilder

class MergeBuilder

This class builds merge conditions.

Properties

$allowFalse
$allowOverwrite

Methods

__construct(NodeDefinition $node)
$this allowUnset(bool $allow = true)

Sets whether the node can be unset.

$this denyOverwrite(bool $deny = true)

Sets whether the node can be overwritten.

NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition end()

Returns the related node.

Details

__construct(NodeDefinition $node)

Parameters

NodeDefinition $node

$this allowUnset(bool $allow = true)

Sets whether the node can be unset.

Parameters

bool $allow

Return Value

$this

$this denyOverwrite(bool $deny = true)

Sets whether the node can be overwritten.

Parameters

bool $deny Whether the overwriting is forbidden or not

Return Value

$this

NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition end()

Returns the related node.

Return Value

NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Config/Definition/Builder/MergeBuilder.html