Add write support to Config backends with add/set methods

This commit is contained in:
2011-08-28 13:01:56 +01:00
parent da746cb118
commit faf8806472
4 changed files with 119 additions and 7 deletions

View File

@@ -0,0 +1,26 @@
<?php
interface SihnonFramework_Config_IUpdateable {
/**
*
* Change the value of a setting
* @param string $key
* @param mixed $value
* @return bool
*/
public function set($key, $value);
/**
*
* Add a new setting
* @param string $key
* @param string $type
* @param mixed $value
* @return bool
*/
public function add($key, $type, $value);
}
?>