interface NodeInterface
Common Interface among all nodes.
In most cases, it is better to inherit from BaseNode instead of implementing this interface yourself.
string | getName() Returns the name of the node. | |
string | getPath() Returns the path of the node. | |
bool | isRequired() Returns true when the node is required. | |
bool | hasDefaultValue() Returns true when the node has a default value. | |
mixed | getDefaultValue() Returns the default value of the node. | |
mixed | normalize(mixed $value) Normalizes the supplied value. | |
mixed | merge(mixed $leftSide, mixed $rightSide) Merges two values together. | |
mixed | finalize(mixed $value) Finalizes a value. |
Returns the name of the node.
Returns the path of the node.
Returns true when the node is required.
Returns true when the node has a default value.
Returns the default value of the node.
Normalizes the supplied value.
Merges two values together.
Finalizes a value.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Config/Definition/NodeInterface.html