Symfony\Component\Config\Definition\NodeInterface
Common Interface among all nodes.
In most cases, it is better to inherit from BaseNode instead of implementing
this interface yourself.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
interface NodeInterface
{
- // methods
- public string getName()
- public string getPath()
- public Boolean isRequired()
- public Boolean hasDefaultValue()
- public mixed getDefaultValue()
- public mixed normalize()
- public mixed merge()
- public mixed finalize()
Hierarchy
Extended by
Implemented by
- Symfony\Component\Config\Definition\NumericNode
- Symfony\Component\Config\Definition\BooleanNode
- Symfony\Component\Config\Definition\EnumNode
- Symfony\Component\Config\Definition\BaseNode
- Symfony\Component\Config\Definition\PrototypedArrayNode
- Symfony\Component\Config\Definition\ArrayNode
- Symfony\Component\Config\Definition\IntegerNode
- Symfony\Component\Config\Definition\ScalarNode
- Symfony\Component\Config\Definition\FloatNode
- Symfony\Component\Config\Definition\VariableNode
Methods
public
- finalize() — Finalizes a value.
- getDefaultValue() — Returns the default value of the node.
- getName() — Returns the name of the node.
- getPath() — Returns the path of the node.
- hasDefaultValue() — Returns true when the node has a default value.
- isRequired() — Returns true when the node is required.
- merge() — Merges two values together.
- normalize() — Normalizes the supplied value.