W3cubDocs

/Symfony 3.1

MergeBuilder

class MergeBuilder

This class builds merge conditions.

Properties

$allowFalse
$allowOverwrite

Methods

__construct(NodeDefinition $node)

Constructor.

$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 end()

Returns the related node.

Details

__construct(NodeDefinition $node)

Constructor.

Parameters

NodeDefinition $node The related 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 end()

Returns the related node.

Return Value

NodeDefinition

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