Method |
Description |
|
connect ( ) |
Opens the connection to Redis. |
|
disconnect ( ) |
Closes the connection to Redis. |
|
executeCommand ( Predis\Command\CommandInterface $command ) : mixed |
Writes a request for the given command over the connection and reads back
the response returned by Redis. |
|
isConnected ( ) : boolean |
Checks if the connection to Redis is considered open. |
|
readResponse ( Predis\Command\CommandInterface $command ) : mixed |
Reads the response to the given command from the connection. |
|
writeRequest ( Predis\Command\CommandInterface $command ) |
Writes the request for the given command over the connection. |
|