PHP Class NinjaMutex\Tests\Mock\MockPhpRedisClient

Author: leo108 ([email protected])
Inheritance: extends Redi\Redis, implements NinjaMutex\Tests\Mock\PermanentServiceInterface
Afficher le fichier Open project: arvenil/ninja-mutex

Protected Properties

Свойство Type Description
$available boolean Whether the service is available
$data string[]

Méthodes publiques

Méthode Description
__construct ( )
del ( string $key ) : boolean
get ( string $key ) : mixed
setAvailable ( boolean $available )
setnx ( string $key, mixed $value ) : boolean

Method Details

__construct() public méthode

public __construct ( )

del() public méthode

public del ( string $key ) : boolean
$key string
Résultat boolean

get() public méthode

public get ( string $key ) : mixed
$key string
Résultat mixed

setAvailable() public méthode

public setAvailable ( boolean $available )
$available boolean

setnx() public méthode

public setnx ( string $key, mixed $value ) : boolean
$key string
$value mixed
Résultat boolean

Property Details

$available protected_oe property

Whether the service is available
protected bool $available
Résultat boolean

$data protected_oe static_oe property

protected static string[] $data
Résultat string[]