PHP Class Think\Session\Driver\Memcache

显示文件 Open project: top-think/framework

Protected Properties

Property Type Description
$config
$handler

Public Methods

Method Description
__construct ( $config = [] )
close ( ) 关闭Session
destroy ( string $sessID ) 删除Session
gc ( string $sessMaxLifeTime ) Session 垃圾回收
open ( string $savePath, mixed $sessName ) 打开Session
read ( string $sessID ) 读取Session
write ( string $sessID, String $sessData ) 写入Session

Method Details

__construct() public method

public __construct ( $config = [] )

close() public method

关闭Session
public close ( )

destroy() public method

删除Session
public destroy ( string $sessID )
$sessID string

gc() public method

Session 垃圾回收
public gc ( string $sessMaxLifeTime )
$sessMaxLifeTime string

open() public method

打开Session
public open ( string $savePath, mixed $sessName )
$savePath string
$sessName mixed

read() public method

读取Session
public read ( string $sessID )
$sessID string

write() public method

写入Session
public write ( string $sessID, String $sessData )
$sessID string
$sessData String

Property Details

$config protected_oe property

protected $config

$handler protected_oe property

protected $handler