mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-12 08:36:13 +01:00
19 lines
305 B
PHP
19 lines
305 B
PHP
|
<?php
|
||
|
|
||
|
final class DiffusionGitWireProtocolCapabilities
|
||
|
extends Phobject {
|
||
|
|
||
|
private $raw;
|
||
|
|
||
|
public static function newFromWireFormat($raw) {
|
||
|
$capabilities = new self();
|
||
|
$capabilities->raw = $raw;
|
||
|
return $capabilities;
|
||
|
}
|
||
|
|
||
|
public function toWireFormat() {
|
||
|
return $this->raw;
|
||
|
}
|
||
|
|
||
|
}
|