PHP 인터페이스 ManaPHP\StoreInterface

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

공개 메소드들

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

메소드 상세

delete() 공개 메소드

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

exists() 공개 메소드

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

get() 공개 메소드

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

set() 공개 메소드

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