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
Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git]
/
src
/
applications
/
herald
/
group
/
HeraldGroup.php
blob
348ea1d24afc8b6d1e7c314a3f4442f1c713e734
1
<
?php
2
3
abstract class
HeraldGroup
extends
Phobject
{
4
5
abstract public function
getGroupLabel
();
6
7
protected function
getGroupOrder
() {
8
return
1000
;
9
}
10
11
public function
getSortKey
() {
12
return
sprintf
(
'A
%08d%s
'
,
$this
->
getGroupOrder
(),
$this
->
getGroupLabel
());
13
}
14
15
}