3 namespace Friendica\Core\Config;
6 * The interface for a system-wide ConfigCache
11 * @param string $cat Config category
12 * @param string $key Config key
13 * @param mixed $default Default value if it isn't set
15 * @return mixed Returns the value of the Config entry
17 function get($cat, $key = null, $default = null);
20 * Sets a value in the config cache. Accepts raw output from the config table
22 * @param string $cat Config category
23 * @param string $key Config key
24 * @param mixed $value Value to set
26 * @return bool True, if the value is set
28 function set($cat, $key, $value);
31 * Deletes a value from the config cache
33 * @param string $cat Config category
34 * @param string $key Config key
36 function delete($cat, $key);