@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorMultimeterApplication
4 extends PhabricatorApplication {
5
6 public function getName() {
7 return pht('Multimeter');
8 }
9
10 public function getBaseURI() {
11 return '/multimeter/';
12 }
13
14 public function getIcon() {
15 return 'fa-motorcycle';
16 }
17
18 public function isPrototype() {
19 return true;
20 }
21
22 public function getTitleGlyph() {
23 return "\xE2\x8F\xB3";
24 }
25
26 public function getApplicationGroup() {
27 return self::GROUP_DEVELOPER;
28 }
29
30 public function getShortDescription() {
31 return pht('Performance Sampler');
32 }
33
34 public function getRemarkupRules() {
35 return array();
36 }
37
38 public function getRoutes() {
39 return array(
40 '/multimeter/' => array(
41 '' => 'MultimeterSampleController',
42 ),
43 );
44 }
45
46 public function getHelpDocumentationArticles(PhabricatorUser $viewer) {
47 return array(
48 array(
49 'name' => pht('Multimeter User Guide'),
50 'href' => PhabricatorEnv::getDoclink('Multimeter User Guide'),
51 ),
52 );
53 }
54
55}