Get Configuration Value.

@param string $param
@param null 	$defaultValue

@return mixed
760747
public function getConfig( $param, $defaultValue = null )
	{
		$dn = new DotNotation($this->configs);
		return $dn->get($param, $defaultValue);
	}
711589
protected function getConfig($key, $defaultValue = null)
    {
        $config = $this->readConfig();
        
        return isset($config[$key]) ? $config[$key] : $defaultValue;
    }
821978
protected function getOperationConfig($name, $param = null, $default = null)
    {
        $config = isset($this->serviceConfig['operations'][$name])
            ? $this->serviceConfig['operations'][$name] : null;
        
        if ($param === null || $config === null) {
            return $config;
        } else {
            return isset($config[$param]) ? $config[$param] : $default;
        }
    }
862214
public function get($index, $defaultValue = null)
    {
        if (isset($this->{$index})) {
            return $this->{$index};
        }

        $config = $this;
        $keys = explode('.', $index);

        while (!empty($keys)) {
            $key = array_shift($keys);

            if (!isset($config->{$key})) {
                break;
            }

            if (empty($keys)) {
                return $config->{$key};
            }

            $config = $config->{$key};

            if (empty($config)) {
                break;
            }
        }

        return $defaultValue;
    }
763421
protected function getPost($param = null, $defaultValue = null)
    {
        if ($param === null) {
            return $this->getRequest()->getPost();
        }

        return $this->getRequest()->getPost($param, $defaultValue);
    }
828197
private function getParam($param, $default = null)
    {
        if (isset($this->query[$param])) {
            return $this->query[$param];
        } else {
            return $default;
        }
    }
198775
public function get($key = null, $defaultValue = null) {
		$conditions = compact('key');
		if ($key === null) {
			return $this->find('all', $conditions);
		} else {
			$value = $this->field('value', $conditions);
			return $this->find('count', array('conditions' => $conditions)) ? $value : $defaultValue;
		}
	}
1148965
def get_config_value(self, name, defaultValue):
    
    self.send_get_config_value(name, defaultValue)
    return self.recv_get_config_value()
217150
public function get(string $key,string $default=null)
  {
    $keys = explode('.',$key);
    $val = $this->confValues;

    for ($i=0; $i<count($keys); $i++) {
      $val = ( $val[ $keys[$i] ] ?? null);
      if (is_null($val)) break;
    }

    return $val ?? $default;
  }
490349
public function get($paramName = null, $default = null)
    {
        $result = $default;

        $params = $this->getRequestParams();

        if ($paramName === null) {
            $result = $params;
        } elseif (isset($params[$paramName])) {
            $result = $params[$paramName];
        }

        return $result;
    }
27455
public static function getInfo( $key = null, $defaultValue = null )
    {
        return null === $key ? static::$_info : Option::get( static::$_info, $key, $defaultValue );
    }
342698
final protected function getValueFromConfig(string $param)
  {
    $value = null;
    $config = self::$suiteConfig;

    preg_match_all(self::$regEx['config'], $param, $args, PREG_PATTERN_ORDER);
    foreach ($args[1] as $arg) {
      if (array_key_exists($arg, $config)) {
        $value = $config[$arg];
        if (is_array($value)) {
          $config = $value;
        } else {
          break;
        }
      }
    }
    return $value;
  }
1212494
public function get($itemName, $defaultValue = null)
    {
        $contents = $this->composeContents();
        $value = isset($contents[$itemName]) ? $contents[$itemName] : $defaultValue;

        return IniParser::i()->castItemValueToProperType($value);
    }
401138
public function getProperty($key, $defaultValue = null)
    {
        if (array_key_exists($key, $this->storage)) {
            return $this->storage[$key];
        }

        return $defaultValue;
    }
1359049
public function getParam($param, $default = null)
    {
        try {
            $this->parse();
            $value = $this->getParams($param, null);
        } catch (\Exception $e) {
            // skip error on file read problems, just return default value
        }
        if (isset($value)) {
            return $value;
        } else {
            return $default;
        }
    }
401183
public static function getDefault($keys, $defaultValue) {
    try {
      $value = self::req($keys);
    } catch (MissingConfigVariableException $e) {
      return $defaultValue;
    }
    
    return $value;
  }
271684
public function get($key, $defaultValue = null)
    {
        if (isset($this->session[$key]) && !empty($this->session[$key])) {
            return $this->session[$key];
        }

        return $defaultValue;
    }