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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_dir string
$_extension string
$_level integer
$_ttl integer

공개 메소드들

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

보호된 메소드들

메소드 설명
_clean ( string $dir ) : void
_getFileName ( string $sessionId ) : string

메소드 상세

__construct() 공개 메소드

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

_clean() 보호된 메소드

protected _clean ( string $dir ) : void
$dir string
리턴 void

_getFileName() 보호된 메소드

protected _getFileName ( string $sessionId ) : string
$sessionId string
리턴 string

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 )
$sessionId string
$data string

프로퍼티 상세

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

protected string $_dir
리턴 string

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

protected string $_extension
리턴 string

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

protected int $_level
리턴 integer

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

protected int $_ttl
리턴 integer