NinjaMutex\Tests\Mock\MockPhpRedisClient::del PHP Méthode

del() public méthode

public del ( string $key ) : boolean
$key string
Résultat boolean
    public function del($key)
    {
        if (!$this->available) {
            return false;
        }
        unset(self::$data[$key]);
        return true;
    }