mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 13:44:58 -06:00
30 lines
468 B
PHP
30 lines
468 B
PHP
<?php
|
|
namespace FireflyIII\Shared\Preferences;
|
|
|
|
/**
|
|
* Interface PreferencesHelperInterface
|
|
*
|
|
* @package FireflyIII\Shared\Preferences
|
|
*/
|
|
interface PreferencesInterface
|
|
{
|
|
|
|
|
|
/**
|
|
* @param $name
|
|
* @param null $default
|
|
*
|
|
* @return \Preference
|
|
*/
|
|
public function get($name, $default = null);
|
|
|
|
/**
|
|
* @param $name
|
|
* @param $value
|
|
*
|
|
* @return null|\Preference
|
|
*/
|
|
public function set($name, $value);
|
|
|
|
}
|