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:
12
src/Core/Settings/SettingsRepository.php
Normal file
12
src/Core/Settings/SettingsRepository.php
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user