projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
symfony
/
config
/
Definition
/
NodeInterface.php
diff --git
a/vendor/symfony/config/Definition/NodeInterface.php
b/vendor/symfony/config/Definition/NodeInterface.php
index b9bddc49385a3ca8330f42359e4f4c227f8140a6..45f1f681c1ea58cde3327a9eb2b36974c8ebd966 100644
(file)
--- a/
vendor/symfony/config/Definition/NodeInterface.php
+++ b/
vendor/symfony/config/Definition/NodeInterface.php
@@
-11,6
+11,10
@@
namespace Symfony\Component\Config\Definition;
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.
*
/**
* Common Interface among all nodes.
*
@@
-59,11
+63,13
@@
interface NodeInterface
public function getDefaultValue();
/**
public function getDefaultValue();
/**
- * Normalizes
the supplied
value.
+ * Normalizes
a
value.
*
* @param mixed $value The value to normalize
*
* @return mixed The normalized 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);
*/
public function normalize($value);
@@
-73,7
+79,10
@@
interface NodeInterface
* @param mixed $leftSide
* @param mixed $rightSide
*
* @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);
*/
public function merge($leftSide, $rightSide);
@@
-83,6
+92,9
@@
interface NodeInterface
* @param mixed $value The value to finalize
*
* @return mixed The finalized value
* @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);
}
*/
public function finalize($value);
}