Свойство | Тип | Описание | |
---|---|---|---|
$connection | Predis\Connection\NodeConnectionInterface | ||
$logger | Snc\RedisBundle\Logger\RedisLogger |
Метод | Описание | |
---|---|---|
__construct ( Predis\Connection\NodeConnectionInterface $connection ) | Constructor | |
__toString ( ) | ||
addConnectCommand ( Predis\Command\CommandInterface $command ) | ||
connect ( ) | ||
disconnect ( ) | ||
executeCommand ( Predis\Command\CommandInterface $command ) | ||
getConnection ( ) : Predis\Connection\NodeConnectionInterface | Returns the underlying connection object | |
getParameters ( ) | ||
getResource ( ) | ||
isConnected ( ) | ||
pushInitCommand ( Predis\Command\CommandInterface $command ) | ||
read ( ) | ||
readResponse ( Predis\Command\CommandInterface $command ) | ||
setLogger ( Snc\RedisBundle\Logger\RedisLogger $logger = null ) | Sets the logger | |
writeRequest ( Predis\Command\CommandInterface $command ) |
Метод | Описание | |
---|---|---|
commandToString ( Predis\Command\CommandInterface $command ) | ||
toStringArgumentReducer ( string $accumulator, string $argument ) : string | Helper function used to reduce a list of arguments to a string. |
public __construct ( Predis\Connection\NodeConnectionInterface $connection ) | ||
$connection | Predis\Connection\NodeConnectionInterface |
public addConnectCommand ( Predis\Command\CommandInterface $command ) | ||
$command | Predis\Command\CommandInterface |
public executeCommand ( Predis\Command\CommandInterface $command ) | ||
$command | Predis\Command\CommandInterface |
public getConnection ( ) : Predis\Connection\NodeConnectionInterface | ||
Результат | Predis\Connection\NodeConnectionInterface |
public pushInitCommand ( Predis\Command\CommandInterface $command ) | ||
$command | Predis\Command\CommandInterface |
public readResponse ( Predis\Command\CommandInterface $command ) | ||
$command | Predis\Command\CommandInterface |
public setLogger ( Snc\RedisBundle\Logger\RedisLogger $logger = null ) | ||
$logger | Snc\RedisBundle\Logger\RedisLogger | A RedisLogger instance |
public writeRequest ( Predis\Command\CommandInterface $command ) | ||
$command | Predis\Command\CommandInterface |
protected NodeConnectionInterface,Predis\Connection $connection | ||
Результат | Predis\Connection\NodeConnectionInterface |