PHP 인터페이스 ManaPHP\Http\SessionInterface

파일 보기 프로젝트 열기: manaphp/manaphp

공개 메소드들

메소드 설명
clean ( ) : void
destroy ( ) : void Destroys the active session
get ( string $name = null, mixed $defaultValue = null ) : mixed Gets a session variable from an application context
getSessionId ( ) : string
has ( string $name ) : boolean Check whether a session variable is set in an application context
remove ( string $name ) Removes a session variable from an application context
set ( string $name, mixed $value ) Sets a session variable in an application context

메소드 상세

clean() 공개 메소드

public clean ( ) : void
리턴 void

destroy() 공개 메소드

Destroys the active session
public destroy ( ) : void
리턴 void

get() 공개 메소드

Gets a session variable from an application context
public get ( string $name = null, mixed $defaultValue = null ) : mixed
$name string
$defaultValue mixed
리턴 mixed

getSessionId() 공개 메소드

public getSessionId ( ) : string
리턴 string

has() 공개 메소드

Check whether a session variable is set in an application context
public has ( string $name ) : boolean
$name string
리턴 boolean

remove() 공개 메소드

Removes a session variable from an application context
public remove ( string $name )
$name string

set() 공개 메소드

Sets a session variable in an application context
public set ( string $name, mixed $value )
$name string
$value mixed