]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/config/ConfigIO.php
Merge pull request #1221 from nodiscc/doc-refactor-index-features2
[github/shaarli/Shaarli.git] / application / config / ConfigIO.php
index 4b1c990138e3c15a353822078e0968918a2ec16c..3efe5b6fb941b2dafb7107cea11cb59f1bcb59e6 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+namespace Shaarli\Config;
 
 /**
  * Interface ConfigIO
@@ -14,22 +15,20 @@ interface ConfigIO
      *
      * @return array All configuration in an array.
      */
-    function read($filepath);
+    public function read($filepath);
 
     /**
      * Write configuration.
      *
      * @param string $filepath Config file absolute path.
      * @param array  $conf   All configuration in an array.
-     *
-     * @return bool True if the configuration has been successfully written, false otherwise.
      */
-    function write($filepath, $conf);
+    public function write($filepath, $conf);
 
     /**
      * Get config file extension according to config type.
      *
      * @return string Config file extension.
      */
-    function getExtension();
+    public function getExtension();
 }