/** * Get the list of open channels * * @return VectorInterface */ public function getChannels() { return $this->channels->map(function (AMQPChannel $channel) { return $channel->getChannelId(); }); }