PHP 인터페이스 ManaPHP\Store\AdapterInterface

파일 보기 프로젝트 열기: manaphp/manaphp 0 사용 예제들

공개 메소드들

메소드 설명
delete ( string $id ) Deletes a value with the specified id from store
exists ( string $id ) : boolean Checks whether a specified id exists in the store.
get ( string $id ) : string | false Retrieves a value from store with a specified id.
set ( string $id, string $value ) : void Stores a value identified by a id into store.

메소드 상세

delete() 공개 메소드

Deletes a value with the specified id from store
public delete ( string $id )
$id string

exists() 공개 메소드

Checks whether a specified id exists in the store.
public exists ( string $id ) : boolean
$id string
리턴 boolean

get() 공개 메소드

Retrieves a value from store with a specified id.
public get ( string $id ) : string | false
$id string
리턴 string | false

set() 공개 메소드

Stores a value identified by a id into store.
public set ( string $id, string $value ) : void
$id string
$value string
리턴 void