Traits
4 months ago
ConfigSettingInterface.php
4 months ago
CustomSettingInterface.php
6 months ago
MeasurableSettingInterface.php
6 months ago
OptionSettingInterface.php
6 months ago
PolicyComparisonInterface.php
4 months ago
SettingValueInterface.php
6 months ago
SystemSettingInterface.php
6 months ago
SettingValueInterface.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Settings\Interfaces; |
| 10 | |
| 11 | /** |
| 12 | * @template T of mixed |
| 13 | */ |
| 14 | interface SettingValueInterface |
| 15 | { |
| 16 | /** |
| 17 | * @return self<T> |
| 18 | */ |
| 19 | public static function getInstance(?int $idSite = null); |
| 20 | /** |
| 21 | * @return T |
| 22 | */ |
| 23 | public function getValue(); |
| 24 | public static function getTitle() : string; |
| 25 | public static function getInlineHelp() : string; |
| 26 | } |
| 27 |