PHP 인터페이스 Icicle\Concurrent\Worker\Environment

상속: extends ArrayAccess, extends Countable
파일 보기 프로젝트 열기: icicleio/concurrent

공개 메소드들

메소드 설명
clear ( ) Removes all values.
delete ( string $key )
exists ( string $key ) : boolean
get ( string $key ) : mixed | null
set ( string $key, mixed $value, integer $ttl )

메소드 상세

clear() 공개 메소드

Removes all values.
public clear ( )

delete() 공개 메소드

public delete ( string $key )
$key string

exists() 공개 메소드

public exists ( string $key ) : boolean
$key string
리턴 boolean

get() 공개 메소드

public get ( string $key ) : mixed | null
$key string
리턴 mixed | null Returns null if the key does not exist.

set() 공개 메소드

public set ( string $key, mixed $value, integer $ttl )
$key string
$value mixed Using null for the value deletes the key.
$ttl integer Number of seconds until data is automatically deleted. Use 0 for unlimited TTL.