/**
* Sets the xml remappings that should be performed.
*
- * @param array $remappings an array of the form array(array(string, string))
+ * @param array $remappings An array of the form array(array(string, string))
*/
public function setXmlRemappings(array $remappings)
{
}
/**
- * Sets the node Name.
- *
- * @param string $name The node's name
+ * {@inheritdoc}
*/
public function setName($name)
{
}
/**
- * Checks if the node has a default value.
- *
- * @return bool
+ * {@inheritdoc}
*/
public function hasDefaultValue()
{
}
/**
- * Retrieves the default value.
- *
- * @return array The default value
- *
- * @throws \RuntimeException if the node has no default value
+ * {@inheritdoc}
*/
public function getDefaultValue()
{
/**
* Adds a child node.
*
- * @param NodeInterface $node The child node to add
- *
* @throws \InvalidArgumentException when the child node has no name
* @throws \InvalidArgumentException when the child node's name is not unique
*/
continue;
}
+ if ($child->isDeprecated()) {
+ @trigger_error($child->getDeprecationMessage($name, $this->getPath()), E_USER_DEPRECATED);
+ }
+
try {
$value[$name] = $child->finalize($value[$name]);
} catch (UnsetKeyException $e) {