Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / xhprof / application / PhabricatorXHProfApplication.php
blobbdc299dd4ed8f4e129429694472bc135fe1ee3a2
1 <?php
3 final class PhabricatorXHProfApplication extends PhabricatorApplication {
5 public function getBaseURI() {
6 return '/xhprof/';
9 public function getName() {
10 return pht('XHProf');
13 public function getShortDescription() {
14 return pht('PHP Profiling Tool');
17 public function getIcon() {
18 return 'fa-stethoscope';
21 public function getTitleGlyph() {
22 return "\xE2\x98\x84";
25 public function getApplicationGroup() {
26 return self::GROUP_DEVELOPER;
29 public function getRoutes() {
30 return array(
31 '/xhprof/' => array(
32 '' => 'PhabricatorXHProfSampleListController',
33 'list/(?P<view>[^/]+)/' => 'PhabricatorXHProfSampleListController',
34 'profile/(?P<phid>[^/]+)/' => 'PhabricatorXHProfProfileController',
35 'import/drop/' => 'PhabricatorXHProfDropController',