PHP 클래스 NinjaMutex\Tests\Mock\MockPredisClient

저자: Kamil Dziedzic ([email protected])
상속: extends Predis\Client, implements NinjaMutex\Tests\Mock\PermanentServiceInterface
파일 보기 프로젝트 열기: arvenil/ninja-mutex

보호된 프로퍼티들

프로퍼티 타입 설명
$available boolean Whether the service is available
$data string[]

공개 메소드들

메소드 설명
__construct ( )
del ( string $key ) : boolean
get ( string $key ) : mixed
setAvailable ( boolean $available )
setnx ( string $key, mixed $value ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( )

del() 공개 메소드

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

get() 공개 메소드

public get ( string $key ) : mixed
$key string
리턴 mixed

setAvailable() 공개 메소드

public setAvailable ( boolean $available )
$available boolean

setnx() 공개 메소드

public setnx ( string $key, mixed $value ) : boolean
$key string
$value mixed
리턴 boolean

프로퍼티 상세

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

Whether the service is available
protected bool $available
리턴 boolean

$data 보호되어 있는 정적으로 프로퍼티

protected static string[] $data
리턴 string[]