repo.or.cz
/
phabricator.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove product literal strings in "pht()", part 18
[phabricator.git]
/
src
/
applications
/
diffusion
/
protocol
/
DiffusionGitWireProtocolCapabilities.php
blob
865a0614848c9ddb989222e9b50cb07ddc685383
1
<
?php
2
3
final class
DiffusionGitWireProtocolCapabilities
4
extends
Phobject
{
5
6
private
$raw
;
7
8
public static function
newFromWireFormat
(
$raw
) {
9
$capabilities
=
new
self
();
10
$capabilities
->
raw
=
$raw
;
11
return
$capabilities
;
12
}
13
14
public function
toWireFormat
() {
15
return
$this
->
raw
;
16
}
17
18
}