/** * {@inheritdoc} */ public function onOpen(ConnectionInterface $conn) { $decor = new WampConnection($conn); $this->connections->attach($conn, $decor); $this->_decorating->onOpen($decor); }
/** * {@inheritdoc} */ public function onOpen(ConnectionInterface $conn) { $conn->WAMP->subscriptions = new \SplObjectStorage(); $this->app->onOpen($conn); }