@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
3final class DiffusionGitWireProtocolRefList
4 extends Phobject {
5
6 private $capabilities;
7 private $refs = array();
8
9 public function setCapabilities(
10 DiffusionGitWireProtocolCapabilities $capabilities) {
11 $this->capabilities = $capabilities;
12 return $this;
13 }
14
15 public function getCapabilities() {
16 return $this->capabilities;
17 }
18
19 public function addRef(DiffusionGitWireProtocolRef $ref) {
20 $this->refs[] = $ref;
21 return $this;
22 }
23
24 public function getRefs() {
25 return $this->refs;
26 }
27
28}