PHP 클래스 ManaPHP\Http\Session\Adapter\Redis

상속: extends ManaPHP\Component, implements ManaPHP\Http\Session\AdapterInterface
파일 보기 프로젝트 열기: manaphp/manaphp

보호된 프로퍼티들

프로퍼티 타입 설명
$_prefix string
$_ttl integer

공개 메소드들

메소드 설명
__construct ( array $options = [] ) Redis 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 ) : void

메소드 상세

__construct() 공개 메소드

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

clean() 공개 메소드

public clean ( ) : void
리턴 void

close() 공개 메소드

public close ( ) : boolean
리턴 boolean

destroy() 공개 메소드

public destroy ( string $sessionId ) : boolean
$sessionId string
리턴 boolean

gc() 공개 메소드

public gc ( integer $ttl ) : boolean
$ttl integer
리턴 boolean

open() 공개 메소드

public open ( string $savePath, string $sessionName ) : boolean
$savePath string
$sessionName string
리턴 boolean

read() 공개 메소드

public read ( string $sessionId ) : string
$sessionId string
리턴 string

write() 공개 메소드

public write ( string $sessionId, string $data ) : void
$sessionId string
$data string
리턴 void

프로퍼티 상세

$_prefix 보호되어 있는 프로퍼티

protected string $_prefix
리턴 string

$_ttl 보호되어 있는 프로퍼티

protected int $_ttl
리턴 integer