PHP Class SRedis

Mostrar archivo Open project: hetao29/slightphp Class Usage Examples

Public Methods

Method Description
__call ( $name, $args )
__callStatic ( $name, $args )
__construct ( )
getConfig ( string $zone = null, $type = "host" ) : array
setConfigFile ( $file )
useConfig ( string $zone, $type = "host" ) : array 切换配置文件

Method Details

__call() public method

public __call ( $name, $args )

__callStatic() public static method

public static __callStatic ( $name, $args )

__construct() public method

public __construct ( )

getConfig() static public method

static public getConfig ( string $zone = null, $type = "host" ) : array
$zone string
return array

setConfigFile() static public method

static public setConfigFile ( $file )

useConfig() static public method

切换配置文件
static public useConfig ( string $zone, $type = "host" ) : array
$zone string
return array