Symfony\Component\Config\Definition\IntegerNode
This node represents an integer value in the config tree.
- Author: Jeanmonod David <david.jeanmonod@gmail.com>
Synopsis
class IntegerNode
extends NumericNode
{
- // Inherited members from VariableNode
- protected $defaultValueSet;
- protected $defaultValue;
- protected $allowEmptyValue;
- // Inherited members from BaseNode
- protected $name;
- protected $parent;
- protected $normalizationClosures;
- protected $finalValidationClosures;
- protected $allowOverwrite;
- protected $required;
- protected $equivalentValues;
- protected array $attributes;
- // methods
- protected void validateType()
- // Inherited methods from NumericNode
- public void __construct()
- protected void finalizeValue()
- // Inherited methods from ScalarNode
- protected void validateType()
- // Inherited methods from VariableNode
- public void setDefaultValue()
- public void hasDefaultValue()
- public void getDefaultValue()
- public void setAllowEmptyValue()
- public void setName()
- protected void validateType()
- protected void finalizeValue()
- protected void normalizeValue()
- protected void mergeValues()
- // Inherited methods from BaseNode
- public void __construct()
- public void setAttribute()
- public void getAttribute()
- public void hasAttribute()
- public void getAttributes()
- public void setAttributes()
- public void removeAttribute()
- public void setInfo()
- public string getInfo()
- public void setExample()
- public string|array getExample()
- public void addEquivalentValue()
- public void setRequired()
- public void setAllowOverwrite()
- public void setNormalizationClosures()
- public void setFinalValidationClosures()
- public Boolean isRequired()
- public string getName()
- public string getPath()
- public final mixed merge()
- public final mixed normalize()
- protected $value preNormalize()
- public final mixed finalize()
- protected abstract void validateType()
- protected abstract mixed normalizeValue()
- protected abstract mixed mergeValues()
- protected abstract mixed finalizeValue()
Hierarchy
Members
protected
- $allowEmptyValue
- $allowOverwrite
- $attributes
- $defaultValue
- $defaultValueSet
- $equivalentValues
- $finalValidationClosures
- $max
- $min
- $name
- $normalizationClosures
- $parent
- $required
Methods
protected
- validateType() — {@inheritDoc}
Inherited from Symfony\Component\Config\Definition\NumericNode
protected
- finalizeValue() — {@inheritDoc}
Inherited from Symfony\Component\Config\Definition\ScalarNode
protected
- validateType() — {@inheritDoc}
Inherited from Symfony\Component\Config\Definition\VariableNode
protected
- finalizeValue() — {@inheritDoc}
- mergeValues() — {@inheritDoc}
- normalizeValue() — {@inheritDoc}
- validateType() — {@inheritDoc}
public
- getDefaultValue() — {@inheritDoc}
- hasDefaultValue() — {@inheritDoc}
- setAllowEmptyValue() — Sets if this node is allowed to have an empty value.
- setDefaultValue() — {@inheritDoc}
- setName() — {@inheritDoc}
Inherited from Symfony\Component\Config\Definition\BaseNode
protected
- finalizeValue() — Finalizes a value.
- mergeValues() — Merges two values together.
- normalizeValue() — Normalizes the value.
- preNormalize() — Normalizes the value before any other normalization is applied.
- validateType() — Validates the type of a Node.
public
- addEquivalentValue() — Adds an equivalent value.
- finalize() — Finalizes a value, applying all finalization closures.
- getAttribute()
- getAttributes()
- getExample() — Retrieves the example configuration for this node.
- getInfo() — Returns info message.
- getName() — Returns the name of this node
- getPath() — Retrieves the path of this node.
- hasAttribute()
- isRequired() — Checks if this node is required.
- merge() — Merges two values together.
- normalize() — Normalizes a value, applying all normalization closures.
- removeAttribute()
- setAllowOverwrite() — Sets if this node can be overridden.
- setAttribute()
- setAttributes()
- setExample() — Sets the example configuration for this node.
- setFinalValidationClosures() — Sets the closures used for final validation.
- setInfo() — Sets an info message.
- setNormalizationClosures() — Sets the closures used for normalization.
- setRequired() — Set this node as required.