Method |
Description |
|
__call ( $method, $arguments ) |
|
|
connect ( ) |
Opens the underlying connection to the server. |
|
createCommand ( string $method, array $arguments = [] ) : Predis\Command\CommandInterface |
Creates a new instance of the specified Redis command. |
|
disconnect ( ) |
Closes the underlying connection from the server. |
|
executeCommand ( Predis\Command\CommandInterface $command ) : mixed |
Executes the specified Redis command. |
|
exists ( string $key ) : boolean |
Empty function to mock calls to Predis/Client |
|
get ( string $key ) : string |
Empty function to mock calls to Predis/Client |
|
getConnection ( ) : ConnectionInterface |
Returns the underlying connection instance. |
|
getOptions ( ) : OptionsInterface |
Returns the client options specified upon initialization. |
|
getProfile ( ) : ProfileInterface |
Returns the server profile used by the client. |
|