메소드 | 설명 | |
---|---|---|
__construct ( Predis\Connection\NodeConnectionInterface $connection, integer $size ) | ||
__destruct ( ) | Handles the synchronization of the client with the Redis protocol when the garbage collector kicks in (e.g. when the iterator goes out of the scope of a foreach or it is unset). | |
drop ( boolean $disconnect = false ) | Drop queued elements that have not been read from the connection either by consuming the rest of the multibulk response or quickly by closing the underlying connection. |
메소드 | 설명 | |
---|---|---|
getValue ( ) : mixed | Reads the next item of the multibulk response from the connection. |
public __construct ( Predis\Connection\NodeConnectionInterface $connection, integer $size ) | ||
$connection | Predis\Connection\NodeConnectionInterface | Connection to Redis. |
$size | integer | Number of elements of the multibulk response. |
public __destruct ( ) |