firefly-iii/app/lib/FireflyIII/Shared/Preferences/PreferencesInterface.php

29 lines
464 B
PHP
Raw Normal View History

2014-10-29 04:30:52 -05:00
<?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);
2014-11-12 15:37:09 -06:00
/**
* @param $name
* @param $value
*
* @return null|\Preference
*/
public function set($name, $value);
2014-10-29 04:30:52 -05:00
}