Predis\PubSub\AbstractConsumer::psubscribe PHP Method

psubscribe() public method

Subscribes to the specified channels using a pattern.
public psubscribe ( $pattern )
    public function psubscribe($pattern)
    {
        $this->writeRequest(self::PSUBSCRIBE, func_get_args());
        $this->statusFlags |= self::STATUS_PSUBSCRIBED;
    }