/** * @param WampRequest $request * @param array|string $data * @param string $provider */ public function onPush(WampRequest $request, $data, $provider) { $topic = $this->topicManager->getTopic($request->getMatched()); $this->dispatch(self::PUSH, null, $topic, $request, $data, null, null, $provider); }
/** * @param WampRequest $request * @param string $data * @param string $provider */ public function onPush(WampRequest $request, $data, $provider) { $this->logger->info(sprintf('Pusher %s has pushed', $provider), ['provider' => $provider, 'topic' => $request->getMatched()]); $this->topicDispatcher->onPush($request, $data, $provider); }