mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
23332241b2
Summary: Ref T4195. I need this for the Herald pre-commit rules, and it generally simplifies things. Test Plan: Used `reparse.php` plus `var_dump()` to inspect refs in Git, Mercurial and SVN repos. They all looked correct and reparsed correctly. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4195 Differential Revision: https://secure.phabricator.com/D7804
26 lines
447 B
PHP
26 lines
447 B
PHP
<?php
|
|
|
|
final class DiffusionCommitHash extends Phobject {
|
|
|
|
private $hashType;
|
|
private $hashValue;
|
|
|
|
public function setHashValue($hash_value) {
|
|
$this->hashValue = $hash_value;
|
|
return $this;
|
|
}
|
|
|
|
public function getHashValue() {
|
|
return $this->hashValue;
|
|
}
|
|
|
|
public function setHashType($hash_type) {
|
|
$this->hashType = $hash_type;
|
|
return $this;
|
|
}
|
|
|
|
public function getHashType() {
|
|
return $this->hashType;
|
|
}
|
|
|
|
}
|