PHP Class Predis\Command\PubSubPubsub

Author: Daniele Alessandri ([email protected])
Inheritance: extends Command
Show file Open project: tillkruss/redis-object-cache

Public Methods

Method Description
getId ( )
parseResponse ( $data )

Protected Methods

Method Description
processNumsub ( array $channels ) : array Returns the processed response to PUBSUB NUMSUB.

Method Details

getId() public method

public getId ( )

parseResponse() public method

public parseResponse ( $data )

processNumsub() protected static method

Returns the processed response to PUBSUB NUMSUB.
protected static processNumsub ( array $channels ) : array
$channels array List of channels
return array