mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-26 13:39:08 +01:00
29 lines
529 B
PHP
29 lines
529 B
PHP
|
<?php
|
||
|
|
||
|
final class DiffusionGitWireProtocolRefList
|
||
|
extends Phobject {
|
||
|
|
||
|
private $capabilities;
|
||
|
private $refs = array();
|
||
|
|
||
|
public function setCapabilities(
|
||
|
DiffusionGitWireProtocolCapabilities $capabilities) {
|
||
|
$this->capabilities = $capabilities;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function getCapabilities() {
|
||
|
return $this->capabilities;
|
||
|
}
|
||
|
|
||
|
public function addRef(DiffusionGitWireProtocolRef $ref) {
|
||
|
$this->refs[] = $ref;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
public function getRefs() {
|
||
|
return $this->refs;
|
||
|
}
|
||
|
|
||
|
}
|