diff options
Diffstat (limited to 'application/config/ConfigIO.php')
-rw-r--r-- | application/config/ConfigIO.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/application/config/ConfigIO.php b/application/config/ConfigIO.php index 2b68fe6a..3efe5b6f 100644 --- a/application/config/ConfigIO.php +++ b/application/config/ConfigIO.php | |||
@@ -1,4 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Config; | ||
2 | 3 | ||
3 | /** | 4 | /** |
4 | * Interface ConfigIO | 5 | * Interface ConfigIO |
@@ -14,7 +15,7 @@ interface ConfigIO | |||
14 | * | 15 | * |
15 | * @return array All configuration in an array. | 16 | * @return array All configuration in an array. |
16 | */ | 17 | */ |
17 | function read($filepath); | 18 | public function read($filepath); |
18 | 19 | ||
19 | /** | 20 | /** |
20 | * Write configuration. | 21 | * Write configuration. |
@@ -22,12 +23,12 @@ interface ConfigIO | |||
22 | * @param string $filepath Config file absolute path. | 23 | * @param string $filepath Config file absolute path. |
23 | * @param array $conf All configuration in an array. | 24 | * @param array $conf All configuration in an array. |
24 | */ | 25 | */ |
25 | function write($filepath, $conf); | 26 | public function write($filepath, $conf); |
26 | 27 | ||
27 | /** | 28 | /** |
28 | * Get config file extension according to config type. | 29 | * Get config file extension according to config type. |
29 | * | 30 | * |
30 | * @return string Config file extension. | 31 | * @return string Config file extension. |
31 | */ | 32 | */ |
32 | function getExtension(); | 33 | public function getExtension(); |
33 | } | 34 | } |