PHP Class ManaPHP\Http\Session\Adapter\Db

Inheritance: extends ManaPHP\Component, implements ManaPHP\Http\Session\AdapterInterface
Afficher le fichier Open project: manaphp/manaphp

Protected Properties

Свойство Type Description
$_model
$_ttl

Méthodes publiques

Méthode Description
__construct ( array $options = [] ) Db constructor.
clean ( ) : void
close ( ) : boolean
destroy ( string $sessionId ) : boolean
gc ( integer $ttl ) : boolean
open ( string $savePath, string $sessionName ) : boolean
read ( string $sessionId ) : string
write ( string $sessionId, string $data ) : boolean

Method Details

__construct() public méthode

Db constructor.
public __construct ( array $options = [] )
$options array

clean() public méthode

public clean ( ) : void
Résultat void

close() public méthode

public close ( ) : boolean
Résultat boolean

destroy() public méthode

public destroy ( string $sessionId ) : boolean
$sessionId string
Résultat boolean

gc() public méthode

public gc ( integer $ttl ) : boolean
$ttl integer
Résultat boolean

open() public méthode

public open ( string $savePath, string $sessionName ) : boolean
$savePath string
$sessionName string
Résultat boolean

read() public méthode

public read ( string $sessionId ) : string
$sessionId string
Résultat string

write() public méthode

public write ( string $sessionId, string $data ) : boolean
$sessionId string
$data string
Résultat boolean

Property Details

$_model protected_oe property

protected $_model

$_ttl protected_oe property

protected $_ttl