<?php

/**
 * Matomo - free/libre analytics platform
 *
 * @link    https://matomo.org
 * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

namespace Piwik\Settings\Interfaces;

/**
 * @template T of mixed
 * @method static string getSettingName()
 */
interface SettingValueInterface
{
    /**
     * @return self<T>
     */
    public static function getInstance(?int $idSite = null);

    /**
     * @return T
     */
    public function getValue();

    public static function getTitle(): string;

    public static function getInlineHelp(): string;
}
