@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3abstract class DiffusionGitWireProtocol extends Phobject {
4
5 private $protocolLog;
6
7 final public function setProtocolLog(PhabricatorProtocolLog $protocol_log) {
8 $this->protocolLog = $protocol_log;
9 return $this;
10 }
11
12 final public function getProtocolLog() {
13 return $this->protocolLog;
14 }
15
16 abstract public function willReadBytes($bytes);
17 abstract public function willWriteBytes($bytes);
18
19}