OCA\Richdocuments\AppConfig::getAppValue PHP Method

getAppValue() public method

Get a value by key
public getAppValue ( string $key ) : string
$key string
return string
    public function getAppValue($key)
    {
        $defaultValue = null;
        if (array_key_exists($key, $this->defaults)) {
            $defaultValue = $this->defaults[$key];
        }
        return $this->config->getAppValue($this->appName, $key, $defaultValue);
    }