PHP 클래스 NinjaMutex\Tests\Mock\MockMemcache

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( )
add ( string $key, mixed $value ) : boolean
delete ( string $key ) : boolean | void
get ( string $key ) : array | boolean | string
setAvailable ( boolean $available )

메소드 상세

__construct() 공개 메소드

public __construct ( )

add() 공개 메소드

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

delete() 공개 메소드

public delete ( string $key ) : boolean | void
$key string
리턴 boolean | void

get() 공개 메소드

public get ( string $key ) : array | boolean | string
$key string
리턴 array | boolean | string

setAvailable() 공개 메소드

public setAvailable ( boolean $available )
$available boolean

프로퍼티 상세

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

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

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

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