Метод | Описание | |
---|---|---|
__construct ( Predis\ClientInterface $client, array $options = null ) | ||
getClient ( ) : Predis\ClientInterface | Returns the underlying client instance used by the pub/sub iterator. |
Метод | Описание | |
---|---|---|
disconnect ( ) | ||
getValue ( ) | ||
writeRequest ( $method, $arguments ) |
Метод | Описание | |
---|---|---|
checkCapabilities ( Predis\ClientInterface $client ) | Checks if the client instance satisfies the required conditions needed to initialize a PUB/SUB consumer. | |
genericSubscribeInit ( string $subscribeAction ) | This method shares the logic to handle both SUBSCRIBE and PSUBSCRIBE. |
public __construct ( Predis\ClientInterface $client, array $options = null ) | ||
$client | Predis\ClientInterface | Client instance used by the consumer. |
$options | array | Options for the consumer initialization. |
public getClient ( ) : Predis\ClientInterface | ||
Результат | Predis\ClientInterface |