public static function castChannel(\AMQPChannel $c, array $a, Stub $stub, $isNested) { $prefix = Caster::PREFIX_VIRTUAL; $a += array($prefix . 'isConnected' => $c->isConnected(), $prefix . 'channelId' => $c->getChannelId(), $prefix . 'prefetchSize' => $c->getPrefetchSize(), $prefix . 'prefetchCount' => $c->getPrefetchCount(), $prefix . 'connection' => $c->getConnection()); return $a; }
/** * @inheritdoc */ public function getPrefetchSize() : int { return $this->channel->getPrefetchSize(); }
/** * @return int */ public function getPrefetchSize() { return $this->rawChannel->getPrefetchSize(); }