mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 19:31:01 -06:00
29 lines
464 B
PHP
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);
|
|
|
|
} |