Askedio\LaravelRatchet\Pusher::onUnSubscribe PHP Method

onUnSubscribe() public method

A request to unsubscribe from a topic has been made.
public onUnSubscribe ( Ratchet\ConnectionInterface $conn, string | Topic $topic )
$conn Ratchet\ConnectionInterface
$topic string | Topic The topic to unsubscribe from
    public function onUnSubscribe(ConnectionInterface $conn, $topic)
    {
        $this->console->info("onUnSubscribe: topic: {$topic} {$topic->count()}");
    }