X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fconsolidation%2Frobo%2Fsrc%2FConfig%2FConfig.php;h=78b135a32a5ffa26e2dd451c51a2db1f614a1883;hp=3da9e5a93364c42736a3559d8034a7908970a209;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/consolidation/robo/src/Config/Config.php b/vendor/consolidation/robo/src/Config/Config.php index 3da9e5a93..78b135a32 100644 --- a/vendor/consolidation/robo/src/Config/Config.php +++ b/vendor/consolidation/robo/src/Config/Config.php @@ -1,7 +1,10 @@ import($data); $this->defaults = $this->getGlobalOptionDefaultValues(); } + /** + * {@inheritdoc} + */ + public function import($data) + { + return $this->replace($data); + } + + /** + * {@inheritdoc} + */ + public function replace($data) + { + $this->getContext(ConfigOverlay::DEFAULT_CONTEXT)->replace($data); + return $this; + } + + /** + * {@inheritdoc} + */ + public function combine($data) + { + $this->getContext(ConfigOverlay::DEFAULT_CONTEXT)->combine($data); + return $this; + } + /** * Return an associative array containing all of the global configuration * options and their default values.