PHP Класс Snc\RedisBundle\Client\Predis\Connection\ConnectionWrapper

Наследование: implements Predis\Connection\SingleConnectionInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( Predis\Connection\NodeConnectionInterface $connection )
$connection Predis\Connection\NodeConnectionInterface

__toString() публичный Метод

public __toString ( )

addConnectCommand() публичный Метод

public addConnectCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

connect() публичный Метод

public connect ( )

disconnect() публичный Метод

public disconnect ( )

executeCommand() публичный Метод

public executeCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

getConnection() публичный Метод

Returns the underlying connection object
public getConnection ( ) : Predis\Connection\NodeConnectionInterface
Результат Predis\Connection\NodeConnectionInterface

getParameters() публичный Метод

public getParameters ( )

getResource() публичный Метод

public getResource ( )

isConnected() публичный Метод

public isConnected ( )

pushInitCommand() публичный Метод

public pushInitCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

read() публичный Метод

public read ( )

readResponse() публичный Метод

public readResponse ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

setLogger() публичный Метод

Sets the logger
public setLogger ( Snc\RedisBundle\Logger\RedisLogger $logger = null )
$logger Snc\RedisBundle\Logger\RedisLogger A RedisLogger instance

writeRequest() публичный Метод

public writeRequest ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

Описание свойств

$connection защищенное свойство

protected NodeConnectionInterface,Predis\Connection $connection
Результат Predis\Connection\NodeConnectionInterface

$logger защищенное свойство

protected RedisLogger,Snc\RedisBundle\Logger $logger
Результат Snc\RedisBundle\Logger\RedisLogger