Lines Matching refs:setting
67 * If param is set, only specified setting is return.
68 * 'index.' is added in front of $setting.
70 * @param string $setting OPTIONAL Setting name to return
80 public function get(string $setting = '', bool $includeDefaults = false)
99 if (!$setting) {
104 if (isset($settings[$setting])) {
105 return $settings[$setting];
108 if (false !== \strpos($setting, '.')) {
110 $keys = \explode('.', $setting);
126 * Returns a setting interpreted as a bool.
133 * @param string $setting Setting name to return
139 public function getBool(string $setting): bool
141 $data = $this->get($setting);