• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/requestbatch.php
  • Класс: BitrixPullProtobufRequestBatch
  • Вызов: RequestBatch::addRequests
public function addRequests(BitrixPullProtobufRequest $value)
    {
        if ($this->requests === null) {
            $this->requests = new ProtobufMessageCollection();
        }

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