PHP Class Think\Session\Driver\Memcache

Afficher le fichier Open project: top-think/framework

Protected Properties

Свойство Type Description
$config
$handler

Méthodes publiques

Méthode 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 méthode

public __construct ( $config = [] )

close() public méthode

关闭Session
public close ( )

destroy() public méthode

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

gc() public méthode

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

open() public méthode

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

read() public méthode

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

write() public méthode

写入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