1
0
mirror of https://github.com/flarum/core.git synced 2025-10-15 00:44:40 +02:00

Move settings repositories to own namespace

Also add a third method to the contract. This will help with building a caching decorator.
This commit is contained in:
Franz Liedke
2015-07-15 23:16:57 +02:00
parent 76678f72f2
commit 8e9cf4fd2e
2 changed files with 11 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace Flarum\Core\Settings;
interface SettingsRepository
{
public function all();
public function get($key, $default = null);
public function set($key, $value);
}