mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-11 17:32:41 +01:00
2cc7f82ece
Test Plan: /conduit/ /conduit/method/arcanist.projectinfo/ Call method $ echo '{}' | arc call-conduit user.whoami Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4268
43 lines
1,023 B
PHP
43 lines
1,023 B
PHP
<?php
|
|
|
|
final class PhabricatorApplicationPHPAST extends PhabricatorApplication {
|
|
|
|
public function getBaseURI() {
|
|
return '/xhpast/';
|
|
}
|
|
|
|
public function getIconName() {
|
|
return 'phpast';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return 'Visual PHP Parser';
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return "\xE2\x96\xA0";
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_DEVELOPER;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/xhpast/' => array(
|
|
'' => 'PhabricatorXHPASTViewRunController',
|
|
'view/(?P<id>[1-9]\d*)/'
|
|
=> 'PhabricatorXHPASTViewFrameController',
|
|
'frameset/(?P<id>[1-9]\d*)/'
|
|
=> 'PhabricatorXHPASTViewFramesetController',
|
|
'input/(?P<id>[1-9]\d*)/'
|
|
=> 'PhabricatorXHPASTViewInputController',
|
|
'tree/(?P<id>[1-9]\d*)/'
|
|
=> 'PhabricatorXHPASTViewTreeController',
|
|
'stream/(?P<id>[1-9]\d*)/'
|
|
=> 'PhabricatorXHPASTViewStreamController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|