mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
23 lines
451 B
PHP
23 lines
451 B
PHP
|
<?php
|
||
|
|
||
|
abstract class ArcanistToolset extends Phobject {
|
||
|
|
||
|
final public function getToolsetKey() {
|
||
|
return $this->getPhobjectClassConstant('TOOLSETKEY');
|
||
|
}
|
||
|
|
||
|
final public static function newToolsetMap() {
|
||
|
$toolsets = id(new PhutilClassMapQuery())
|
||
|
->setAncestorClass(__CLASS__)
|
||
|
->setUniqueMethod('getToolsetKey')
|
||
|
->execute();
|
||
|
|
||
|
return $toolsets;
|
||
|
}
|
||
|
|
||
|
public function getToolsetArguments() {
|
||
|
return array();
|
||
|
}
|
||
|
|
||
|
}
|