diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
commit | 83faedadff76c5bdca036f39f13943f63b27e164 (patch) | |
tree | 6f44cede16ec6a60f10b9699e211e0818f06d2c8 /application/config/ConfigIO.php | |
parent | 1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff) | |
parent | 658988f3aeba7a5a938783249ccf2765251e5597 (diff) | |
download | Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip |
Merge tag 'v0.9.7' into stable
Release v0.9.7
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 | } |