Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / meta / application / PhabricatorApplicationsApplication.php
blobfc26eb1e276a9a804ca80eb5120803ebcc77a483
1 <?php
3 final class PhabricatorApplicationsApplication extends PhabricatorApplication {
5 public function getName() {
6 return pht('Applications');
9 public function canUninstall() {
10 return false;
13 public function isLaunchable() {
14 // This application is launchable in the traditional sense, but showing it
15 // on the application launch list is confusing.
16 return false;
19 public function getBaseURI() {
20 return '/applications/';
23 public function getShortDescription() {
24 return pht('Explore More Applications');
27 public function getIcon() {
28 return 'fa-globe';
31 public function getTitleGlyph() {
32 return "\xE0\xBC\x84";
35 public function getRoutes() {
36 return array(
37 '/applications/' => array(
38 '(?:query/(?P<queryKey>[^/]+)/)?'
39 => 'PhabricatorApplicationsListController',
40 'view/(?P<application>\w+)/'
41 => 'PhabricatorApplicationDetailViewController',
42 'edit/(?P<application>\w+)/'
43 => 'PhabricatorApplicationEditController',
44 'mailcommands/(?P<application>\w+)/(?P<type>\w+)/'
45 => 'PhabricatorApplicationEmailCommandsController',
46 '(?P<application>\w+)/(?P<action>install|uninstall)/'
47 => 'PhabricatorApplicationUninstallController',
48 'panel/(?P<application>\w+)/(?P<panel>\w+)/(?P<path>.*)'
49 => 'PhabricatorApplicationPanelController',