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

@param mixed $pattern,... One or more channel name patterns.
Subscribes to the specified channels using a pattern .