PHP Class NinjaMutex\Tests\Mock\MockMemcache

Author: Kamil Dziedzic ([email protected])
Inheritance: extends Memcach\Memcache, 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 ( )
add ( string $key, mixed $value ) : boolean
delete ( string $key ) : boolean | void
get ( string $key ) : array | boolean | string
setAvailable ( boolean $available )

Method Details

__construct() public méthode

public __construct ( )

add() public méthode

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

delete() public méthode

public delete ( string $key ) : boolean | void
$key string
Résultat boolean | void

get() public méthode

public get ( string $key ) : array | boolean | string
$key string
Résultat array | boolean | string

setAvailable() public méthode

public setAvailable ( boolean $available )
$available 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[]