/** * */ public function clearSubscriptions() { foreach ($this->localSegment->getSubscriptions() as $command => $handler) { $this->template->unsubscribe($command); } }