/** * @param array $method_sig * @param \PhpAmqpLib\Wire\AMQPWriter|string $args */ protected function send_method_frame($method_sig, $args = '') { if ($this->connection === null) { throw new AMQPRuntimeException('Channel connection is closed.'); } $this->connection->send_channel_method_frame($this->channel_id, $method_sig, $args); }
/** * @param $method_sig * @param string $args */ protected function send_method_frame($method_sig, $args = '') { $this->connection->send_channel_method_frame($this->channel_id, $method_sig, $args); }