Symfony\Component\Config\Definition\PrototypeNodeInterface
This interface must be implemented by nodes which can be used as prototypes.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
interface PrototypeNodeInterface
extends NodeInterface
{
- // methods
- public void setName()
- // Inherited methods from NodeInterface
- 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
Extends
Implemented by
- Symfony\Component\Config\Definition\NumericNode
- Symfony\Component\Config\Definition\BooleanNode
- Symfony\Component\Config\Definition\EnumNode
- 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
- setName() — Sets the name of the node.
Inherited from Symfony\Component\Config\Definition\NodeInterface
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.