namespace Symfony\Component\Config\Definition;
+use Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException;
+use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
+use Symfony\Component\Config\Definition\Exception\InvalidTypeException;
+
/**
* Common Interface among all nodes.
*
public function getDefaultValue();
/**
- * Normalizes the supplied value.
+ * Normalizes a value.
*
* @param mixed $value The value to normalize
*
* @return mixed The normalized value
+ *
+ * @throws InvalidTypeException if the value type is invalid
*/
public function normalize($value);
* @param mixed $leftSide
* @param mixed $rightSide
*
- * @return mixed The merged values
+ * @return mixed The merged value
+ *
+ * @throws ForbiddenOverwriteException if the configuration path cannot be overwritten
+ * @throws InvalidTypeException if the value type is invalid
*/
public function merge($leftSide, $rightSide);
* @param mixed $value The value to finalize
*
* @return mixed The finalized value
+ *
+ * @throws InvalidTypeException if the value type is invalid
+ * @throws InvalidConfigurationException if the value is invalid configuration
*/
public function finalize($value);
}