• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/responsebatch.php
  • Класс: BitrixPullProtobufResponseBatch
  • Вызов: ResponseBatch::addResponses
public function addResponses(BitrixPullProtobufResponse $value)
    {
        if ($this->responses === null) {
            $this->responses = new ProtobufMessageCollection();
        }

        $this->responses->add($value);
    }