2026-03-05 08:26:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace MintyPHP\Repository\Settings;
|
|
|
|
|
|
2026-03-13 21:58:51 +01:00
|
|
|
/** Contract for key-value application settings with optional descriptions. */
|
2026-03-05 08:26:51 +01:00
|
|
|
interface SettingRepositoryInterface
|
|
|
|
|
{
|
|
|
|
|
public function find(string $key): ?array;
|
|
|
|
|
|
|
|
|
|
public function getValue(string $key): ?string;
|
|
|
|
|
|
|
|
|
|
public function set(string $key, ?string $value, ?string $description = null): bool;
|
|
|
|
|
}
|