PHP 인터페이스 Predis\Connection\NodeConnectionInterface

저자: Daniele Alessandri ([email protected])
상속: extends Predis\Connection\ConnectionInterface
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 0 사용 예제들

공개 메소드들

메소드 설명
__toString ( ) : string Returns a string representation of the connection.
addConnectCommand ( Predis\Command\CommandInterface $command ) Pushes the given command into a queue of commands executed when establishing the actual connection to Redis.
getParameters ( ) : Predis\Connection\ParametersInterface Returns the parameters used to initialize the connection.
getResource ( ) : mixed Returns the underlying resource used to communicate with Redis.
read ( ) : mixed Reads a response from the server.

메소드 상세

__toString() 공개 메소드

Returns a string representation of the connection.
public __toString ( ) : string
리턴 string

addConnectCommand() 공개 메소드

Pushes the given command into a queue of commands executed when establishing the actual connection to Redis.
public addConnectCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface Instance of a Redis command.

getParameters() 공개 메소드

Returns the parameters used to initialize the connection.
public getParameters ( ) : Predis\Connection\ParametersInterface
리턴 Predis\Connection\ParametersInterface

getResource() 공개 메소드

Returns the underlying resource used to communicate with Redis.
public getResource ( ) : mixed
리턴 mixed

read() 공개 메소드

Reads a response from the server.
public read ( ) : mixed
리턴 mixed