1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/diffusion/protocol/DiffusionGitWireProtocolRef.php

33 lines
506 B
PHP
Raw Normal View History

<?php
final class DiffusionGitWireProtocolRef
extends Phobject {
private $name;
private $hash;
public function setName($name) {
$this->name = $name;
return $this;
}
public function getName() {
return $this->name;
}
public function setHash($hash) {
$this->hash = $hash;
return $this;
}
public function getHash() {
return $this->hash;
}
public function newSortVector() {
return id(new PhutilSortVector())
->addString($this->getName());
}
}