Lines Matching defs:settings
12 * Holds all the current settings and proxies the Loader and Writer
23 protected $settings = [];
24 /** @var Setting[] undefined and problematic settings */
29 /** @var array all default settings */
31 /** @var array all local settings */
33 /** @var array all protected settings */
36 /** @var bool have the settings been changed since loading from disk? */
61 * Get all settings
67 return $this->settings;
71 * Get all unknown or problematic settings
81 * Have the settings been changed since loading from disk?
101 * Update the settings using the data provided
110 foreach ($this->settings as $key => $obj) {
122 * Save the settings
125 * undefined settings
131 // only save the undefined settings that have not been handled in settings
132 $undefined = array_diff_key($this->undefined, $this->settings);
133 $this->writer->save(array_merge($this->settings, $undefined));
137 * Touch the settings
157 * Initalizes the $settings and $undefined properties
187 * The class is added to the $settings or $undefined arrays and returned
198 $this->settings[$key] = $obj;
210 * @param string $key the settings key