/** * This is here for performance reasons to batch calls to fwrite from basic.publish * * @param $method_sig * @param string $args * @param null $pkt * @return null|\PhpAmqpLib\Wire\AMQPWriter */ protected function prepare_method_frame($method_sig, $args = '', $pkt = null) { return $this->connection->prepare_channel_method_frame($this->channel_id, $method_sig, $args, $pkt); }