X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FPhpStorage%2FMockPhpStorage.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FPhpStorage%2FMockPhpStorage.php;h=faac373b9eabc32f7b0aebb65edcd2f4073874ac;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/system/src/PhpStorage/MockPhpStorage.php b/web/core/modules/system/src/PhpStorage/MockPhpStorage.php new file mode 100644 index 000000000..faac373b9 --- /dev/null +++ b/web/core/modules/system/src/PhpStorage/MockPhpStorage.php @@ -0,0 +1,40 @@ +configuration = $configuration; + } + + /** + * Gets the configuration data. + */ + public function getConfiguration() { + return $this->configuration; + } + + /** + * Gets a single configuration key. + */ + public function getConfigurationValue($key) { + return isset($this->configuration[$key]) ? $this->configuration[$key] : NULL; + } + +}