firefly-iii/app/lib/FireflyIII/Shared/Preferences/PreferencesInterface.php
2015-01-02 06:16:49 +01:00

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);
}