SRedis::getConfig PHP Méthode

getConfig() static public méthode

static public getConfig ( string $zone = null, $type = "host" ) : array
$zone string
Résultat array
    static function getConfig($zone = null, $type = "host")
    {
        $config = SConfig::getConfig(self::$_config, $zone);
        if (isset($config->{$type})) {
            return $config->{$type};
        } elseif (isset($config->host)) {
            return $config->host;
        }
        return;
    }