Documentation

Credis extends Credis_Client
in package

This wraps up some error handling. We're just going for simple nulls here.

Table of Contents

Methods

__call()  : mixed
dump()  : string|null
hDel()  : int|null
hExists()  : bool|null
hSet()  : bool|int|null
hSetNx()  : bool|null
hStrLen()  : int|null
incrByFloat()  : float
isStandalone()  : bool
Are we using the binary php-redis or not?
move()  : bool
restore()  : mixed

Methods

__call()

public __call(mixed $name, mixed $args) : mixed
Parameters
$name : mixed
$args : mixed
Tags
inheritdoc

dump()

public dump(string $key) : string|null
Parameters
$key : string
Return values
string|null

hDel()

public hDel(string $key, string ...$field) : int|null
Parameters
$key : string
$field : string
Return values
int|null

hExists()

public hExists(string $key, string $field) : bool|null
Parameters
$key : string
$field : string
Return values
bool|null

hSet()

public hSet(string $key, string $field, string $value) : bool|int|null
Parameters
$key : string
$field : string
$value : string
Return values
bool|int|null

hSetNx()

public hSetNx(string $key, string $field, string $value) : bool|null
Parameters
$key : string
$field : string
$value : string
Return values
bool|null

hStrLen()

public hStrLen(string $key, string $field) : int|null
Parameters
$key : string
$field : string
Return values
int|null

incrByFloat()

public incrByFloat(string $key, float $amount) : float
Parameters
$key : string
$amount : float
Return values
float

isStandalone()

Are we using the binary php-redis or not?

public isStandalone() : bool
Return values
bool —

true if no binary, false if ising php-redis

move()

public move(string $key, int $index) : bool
Parameters
$key : string
$index : int
Return values
bool

restore()

public restore(mixed $key, mixed $ttl, mixed $value, mixed ...$options) : mixed
Parameters
$key : mixed
$ttl : mixed
$value : mixed
$options : mixed
On this page

Search results