Returns configuration value of the given name.
@param string $name configuration key
@return string|null
543729
public function get($name)
    {
        $config = $this->all;
        return isset($config[$name]) ? $config[$name] : null;
    }
614655
final public function getConfig($name = '')
    {
        static $_config = [];
        if (empty($name)) {
            $name = $this->getName();
        }
        if (isset($_config[$name])) {
            return $_config[$name];
        }
        $map['name']   = $name;
        $map['status'] = 1;
        $config        = [];
        if (is_file($this->config_file)) {
            $temp_arr = include $this->config_file;
            foreach ($temp_arr as $key => $value) {
                if ($value['type'] == 'group') {
                    foreach ($value['options'] as $gkey => $gvalue) {
                        foreach ($gvalue['options'] as $ikey => $ivalue) {
                            $config[$ikey] = $ivalue['value'];
                        }
                    }
                } else {
                    $config[$key] = $temp_arr[$key]['value'];
                }
            }
            unset($temp_arr);
        }
        $_config[$name] = $config;

        return $config;
    }
33375
public function getConfig($name, $default = null)
    {
        $value = $this->config->get($name);

        return $value === null ? $default : $value;
    }
1225445
public Configuration getConfiguration(String name) {
        Configuration[] values = getConfigurations(name);

        if (values == null) {
            return null;
        }

        return values[0];
    }
1144559
public static function get($name = '')
    {
        if (!empty($name)) {
            if (false !== strpos($name, '.')) {

                $data = explode('.', $name, 2);
                $data[0] = strtolower($data[0]);

                if (isset($data[1]) && $data[1]) {
                    return isset(self::$config[$data[0]][$data[1]]) ? self::$config[$data[0]][$data[1]] : null;
                }
                return isset(self::$config[$data[0]]) ? self::$config[$data[0]] : null;
            } else {
                return isset(self::$config[$name]) ? self::$config[$name] : null;
            }
        }
        return self::$config;
    }
145210
public function getParam($name)
    {
        if ( ! is_string($name) || ! isset($this->data[$name])) {
            return null;
        }

        return $this->data[$name];
    }
754636
public function projectConfig($name)
    {
        if (isset($this->projectConfig)) {
            return $this->projectConfig->get($name);
        } else {
            return null;
        }
    }
492616
public function getData($name)
    {
        return isset($this->builderConfig[$name]) ? $this->builderConfig[$name] : null;
    }
473331
public function getValue(string $name)
    {
        if (isset($this->valuesAsArray[$name])) {
            return $this->valuesAsArray[$name];
        }

        if (!array_key_exists($name, $this->values)) {
            return null;
        }

        $return = $this->values[$name]['value'] ?? null;

        if ($return === '') {
            $return = null;
        }

        return $return;
    }
718037
public function getValue($name)
    {
        $value = null;
        if ($this->has($name)) {
            $value = call_user_func_array(
                [$this->_inputs[$name], 'getValue'],
                [$name]
            );
        }
        return $value;
    }
669497
public static function getValueForName($name)
    {
        foreach (self::getConstants() as $constant) {
            if ($constant['name'] === $name) {
                return $constant['value'];
            }
        }
        return false;
    }
717549
private function getOption(string $name)
    {
        return $this->input->hasOption($name) ? $this->input->getOption($name) : null;
    }
1326705
public function getParam ($name)
		{
			if (isset( $this->_params[ $name ] ))
				return $this->_params[ $name ];
			else
				return null;
		}
484162
public function getCalendarConfig($name = null)
    {
        if (!is_null($name)) {
            return isset($this->calendarConfig[$name]) ? $this->calendarConfig[$name] : null;
        }
        
        return $this->calendarConfig;
    }
1216624
public function getConfigurationPath($name = null)
    {
        if (! $name) {
            $appConfigDir = base_path('config') . '/';

            if (file_exists($appConfigDir)) {
                return $appConfigDir;
            } elseif (file_exists($path = __DIR__ . '/../config/')) {
                return $path;
            }
        } else {
            $appConfigPath = base_path('config') . '/' . $name . '.php';

            if (file_exists($appConfigPath)) {
                return $appConfigPath;
            } elseif (file_exists($path = __DIR__ . '/../config/' . $name . '.php')) {
                return $path;
            }
        }

        return '';
    }
237763
public function getCustomConfig($name = '')
    {
        $custom_config = $this->getConfigByName('custom');
        return $name ? ($custom_config[$name] ?? null) : $custom_config;
    }
901783
public static function get($name=null){
        if(isset(self::$o->config[$name])) {
            return self::$o->config[$name];
        }
        if (strpos($name, '.')) {
            list($field,$index) = explode('.', $name, 2);
            $field = self::$o->config[$field];
            if(isset($field[$index])) {
                return $field[$index];
            }
            return null;
        }
        if($name === null) {
            return self::$o->config;
        }
        return null;
    }