<?php

namespace MintyPHP\Repository\Settings;

/** Contract for key-value application settings with optional descriptions. */
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;
}
