Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/config/module/PhabricatorConfigModule.php
12256 views
1
<?php
2
3
abstract class PhabricatorConfigModule extends Phobject {
4
5
abstract public function getModuleKey();
6
abstract public function getModuleName();
7
abstract public function renderModuleStatus(AphrontRequest $request);
8
9
final public static function getAllModules() {
10
return id(new PhutilClassMapQuery())
11
->setAncestorClass(__CLASS__)
12
->setUniqueMethod('getModuleKey')
13
->setSortMethod('getModuleName')
14
->execute();
15
}
16
17
}
18
19