Méthode |
Description |
|
__call ( string $method, array $arguments ) : mixed |
Creates a Redis command with the specified arguments and sends a request
to the server. |
|
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. |
|
getCommandFactory ( ) : Predis\Command\FactoryInterface |
Returns the command factory used by the client. |
|
getConnection ( ) : Predis\Connection\ConnectionInterface |
Returns the underlying connection instance. |
|
getOptions ( ) : Predis\Configuration\OptionsInterface |
Returns the client options specified upon initialization. |
|