interface PrototypeNodeInterface implements NodeInterface
This interface must be implemented by nodes which can be used as prototypes.
Methods
string | getName() Returns the name of the node. | from NodeInterface |
string | getPath() Returns the path of the node. | from NodeInterface |
Boolean | isRequired() Returns true when the node is required. | from NodeInterface |
Boolean | hasDefaultValue() Returns true when the node has a default value. | from NodeInterface |
mixed | getDefaultValue() Returns the default value of the node. | from NodeInterface |
mixed | normalize(mixed $value) Normalizes the supplied value. | from NodeInterface |
mixed | merge(mixed $leftSide, mixed $rightSide) Merges two values together. | from NodeInterface |
mixed | finalize(mixed $value) Finalizes a value. | from NodeInterface |
setName(string $name) Sets the name of the node. |
Details
string getName()
Returns the name of the node.
string getPath()
Returns the path of the node.
Boolean isRequired()
Returns true when the node is required.
Boolean 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.
setName(string $name)
Sets the name of the node.
Please login to continue.