RedisDriver
    
            
            in package
            
        
    
    
    
        
        
    
    Tags
Table of Contents
- $link : Redis
- $option : array<string|int, mixed>
- $id : string
- __call() : mixed|null
- 调用redis类提供的方法
- __construct() : mixed
- 连接redis <pre> unixsocket设置 unixsocket /tmp/redis.sock unixsocketperm 777 </pre>
- getLinkOption() : array<string|int, mixed>
- 获取连接属性
- selectCurrentDatabase() : mixed
- 选择当前数据库
Properties
$link
    protected
        Redis
    $link
    
        
    
$option
    protected
        array<string|int, mixed>
    $option
    
        
    
$id
    private
        string
    $id
    
        
    
Methods
__call()
调用redis类提供的方法
    public
                __call( $method,  $argv) : mixed|null
        
        Parameters
Tags
Return values
mixed|null —__construct()
连接redis <pre> unixsocket设置 unixsocket /tmp/redis.sock unixsocketperm 777 </pre>
    public
                __construct( $option) : mixed
        
        Parameters
Tags
Return values
mixed —getLinkOption()
获取连接属性
    public
                getLinkOption() : array<string|int, mixed>
        
    
    
        Return values
array<string|int, mixed> —selectCurrentDatabase()
选择当前数据库
    protected
                selectCurrentDatabase() : mixed