PHP 클래스 Snc\RedisBundle\Client\Predis\Connection\ConnectionWrapper

상속: implements Predis\Connection\SingleConnectionInterface
파일 보기 프로젝트 열기: snc/SncRedisBundle

보호된 프로퍼티들

프로퍼티 타입 설명
$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