]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Config/Cache/IConfigCache.php
Merge pull request #6920 from nupplaphil/feature/basepath/hostname_config
[friendica.git] / src / Core / Config / Cache / IConfigCache.php
index 9d948527d4659d359a139207483c0bb36f907607..499bd312d0c5365d836de46b453941c3073a4de7 100644 (file)
@@ -20,9 +20,9 @@ interface IConfigCache
         * Gets a value from the config cache.
         *
         * @param string $cat     Config category
-        * @param string $key       Config key
+        * @param string $key     Config key
         *
-        * @return mixed Returns the value of the Config entry or '!<unset>!' if not set
+        * @return null|mixed Returns the value of the Config entry or null if not set
         */
        function get($cat, $key = null);
 
@@ -47,15 +47,6 @@ interface IConfigCache
         */
        function delete($cat, $key);
 
-       /**
-        * Checks if a value is set in the config cache.
-        *
-        * @param string $cat  Config category
-        * @param string $key  Config key
-        * @return bool
-        */
-       function has($cat, $key = null);
-
        /**
         * Returns the whole configuration cache
         *