3
* Spring Signage Ltd - http://www.springsignage.com
4
* Copyright (C) 2016 Spring Signage Ltd
5
* (ConfigServiceInterface.php)
9
namespace Xibo\Service;
12
use Stash\Interfaces\PoolInterface;
13
use Xibo\Exception\ConfigurationException;
14
use Xibo\Storage\StorageServiceInterface;
17
* Interface ConfigServiceInterface
18
* @package Xibo\Service
20
interface ConfigServiceInterface
23
* Set Service Dependencies
24
* @param StorageServiceInterface $store
25
* @param string $rootUri
27
public function setDependencies($store, $rootUri);
31
* @param PoolInterface $pool
34
public function setPool($pool);
40
public function getDatabaseConfig();
43
public function getSettings();
46
* Gets the requested setting from the DB object given
47
* @param $setting string
48
* @param string[optional] $default
51
public function GetSetting($setting, $default = NULL);
55
* @param string $setting
58
public function ChangeSetting($setting, $value);
61
* Defines the Version and returns it
62
* @param $object string[optional]
63
* @return array|string
66
public function Version($object = '');
69
* Is an upgrade pending?
72
public function isUpgradePending();
75
* Should the host be considered a proxy exception
79
public function isProxyException($host);
82
* Get Proxy Configuration
83
* @param array $httpOptions
86
public function getGuzzleProxy($httpOptions = []);
89
* Checks the Environment and Determines if it is suitable
92
public function CheckEnvironment();
96
* @param string[Optional] $themeName
97
* @throws ConfigurationException
99
public function loadTheme($themeName = null);
102
* Get Theme Specific Settings
103
* @param null $settingName
104
* @param null $default
107
public function getThemeConfig($settingName = null, $default = null);
115
public function uri($uri, $local = false);
121
public function rootUri();
127
public function getCacheDrivers();
130
* Get the cache namespace
133
public function getCacheNamespace();
b'\\ No newline at end of file'