firefly-iii/app/lib/FireflyIII/Shared/Preferences/PreferencesInterface.php
2014-11-12 22:37:09 +01:00

29 lines
464 B
PHP

<?php
namespace FireflyIII\Shared\Preferences;
/**
* Interface PreferencesHelperInterface
*
* @package Firefly\Helper\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);
}